New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@casual-simulation/stacktrace

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@casual-simulation/stacktrace - npm Package Versions

13

3.0.14-alpha.2505160566

Diff

kallyngowdyyeti
published 3.0.14-alpha.2499890262 •

kallyngowdyyeti
published 3.0.2-alpha.1884665520 •

kallyngowdyyeti
published 3.0.0 •

Changelog

Source

V3.0.0

Date: 2/10/2022

:rocket: Improvements

  • Added the os.openImageClassifier(options) and os.closeImageClassifier() functions.

    • These functions are useful for applying Machine Learning inside CasualOS to detect categories of things via the camera feed.
    • Currently, the image classifier is only able to consume models generated with Teachable Machine.
      1. To create a model, go to https://teachablemachine.withgoogle.com/ and click "Get Started".
      2. Create an "Image Project" and choose "Standard image model".
      3. Add or record photos in each class.
      4. Click "Train".
      5. Once training is done you can get a model URL by clicking "Export Model".
      6. Under "Tensorflow.js", choose "Upload (shareable link)" and click "Upload". You can also optionally save the project to Google Drive.
      7. Once uploaded, copy the shareable link.
      8. Create a bot with an @onClick tag and put the following code in it (replacing MY_MODEL_URL with the shareable link):
        await os.openImageClassifier({
            modelUrl: 'MY_MODEL_URL',
        });
        
    • options is an object with the following properties:
      • modelUrl - The sharable link that was generated from Teachable Machine.
      • modelJsonUrl - Is optional and can be used in advanced scenarios where you want to control where the model is stored.
      • modelMetadataUrl - Is optional and can be used in advanced scenarios where you want to control where the model is stored.
      • cameraType - Is optional and is the type of camera that should be preferred. Can be "front" or "rear".
  • Created the oai-1 appBundle.

    • This appBundle is currently a simple ab that can query the OpenAI GPT-3 API via a shout.

    • The ab has the following features:

      • A single manager bot in the oai-1 dimension and systemPortal as oai-1.manager.

      • @generateTextResponse is a listener that asks GPT-3 to respond to a given text prompt.

        • It takes the following parameters:

        • It returns a promise that contains a list of generated choices.

        • Example:

          let oai = getBot('system', 'oai-1.manager');
          const response = await oai.generateTextResponse({
              apiKey: 'myAPIKey',
              prompt: 'Write a tagline for an ice cream shop.',
          });
          
          if (response.choices.length > 0) {
              os.toast('Best choice: ' + response.choices[0]);
          } else {
              os.toast('No choices.');
          }
          

:bug: Bug Fixes

  • Fixed an issue with os.listData() where it was impossible to list data items unless a starting address was provided.
kallyngowdyyeti
published 2.0.14 •

Changelog

Source

V2.0.14

Date: 10/29/2021

:rocket: Improvements

  • Improved the local space to delete the oldest inst when localStorage is full.
  • Added the pointerPixelX and pointerPixelY tags to the gridPortalBot to track the mouse pointer position on the screen.
  • Improved the records system to be able to store records larger than 300KB in size.
    • Records larger than 300KB will be placed in an S3 bucket.
    • Records stored in S3 will now have a dataURL instead of data that points to where the record can be downloaded from.

:bug: Bug Fixes

  • Fixed an issue where the built-in portal bots would cause all scripts to be recompiled.
  • Fixed an issue where functions that retrieve data from portal bots (like os.getFocusPoint()) would always return null data.
  • Fixed an issue where the .getMoreRecords() function did not work.
kallyngowdyyeti
published 2.0.14-alpha.1392172559 •

kallyngowdyyeti
published 2.0.2-alpha.984036479 •

kallyngowdyyeti
published 2.0.2-alpha.983566027 •

kallyngowdyyeti
published 2.0.2-alpha.981663424 •

kallyngowdyyeti
published 2.0.2-alpha.981597206 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc