- Notifications
You must be signed in to change notification settings - Fork 3.2k
contributors extensions events
This event is emitted when an email is being validated. The event can be used to block certain emails from being validated.
the email being validated
- Type: string
- Mutability: no-effect
- Notes:
- The email may have already been cleaned.
whether the email is allowed
- Type: boolean
- Mutability: mutable
- Notes:
- If set to false, the email will be considered invalid.
This event is emitted when a requests incoming and outgoing bytes have been measured.
extension.on('core.request.measured', data => { const measurements = data.measurements; // measurements = { sz_incoming: integer, sz_outgoing: integer } const actor = data.actor; // instance of Actor console.log('\x1B[36;1m === MEASUREMENT ===\x1B[0m\n', { actor: data.actor.uid, measurements: data.measurements }); });This event is emitted when a directory is created.
the directory that was created
- Type: FSNodeContext
- Mutability: no-effect
current context
- Type: Context
- Mutability: no-effect
This event is emitted for ai prompt check usage operations.
whether the operation is allowed
- Type: boolean
- Mutability: mutable
- Notes:
intended service
- Type: any
- Mutability: mutable
- Notes:
parameters
- Type: any
- Mutability: mutable
- Notes:
This event is emitted for ai prompt complete operations.
username
- Type: string
- Mutability: mutable
- Notes:
intended service
- Type: any
- Mutability: mutable
- Notes:
parameters
- Type: any
- Mutability: mutable
- Notes:
result
- Type: any
- Mutability: mutable
- Notes:
model used
- Type: any
- Mutability: mutable
- Notes:
service used
- Type: any
- Mutability: mutable
- Notes:
This event is emitted for ai prompt report usage operations.
This event is emitted when a validate is being validated. The event can be used to block certain validates from being validated.
whether the operation is allowed
- Type: boolean
- Mutability: mutable
- Notes:
- If set to false, the ai will be considered invalid.
intended service
- Type: any
- Mutability: mutable
- Notes:
parameters
- Type: any
- Mutability: mutable
- Notes:
This event is emitted for app new icon operations.
app uid
- Type: string
- Mutability: no-effect
- Notes:
data url
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for app rename operations.
app uid
- Type: string
- Mutability: no-effect
- Notes:
data url
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted when a invalidate is being validated. The event can be used to block certain invalidates from being validated.
options
- Type: any
- Mutability: no-effect
- Notes:
apps
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted when a file is created.
the file that was affected
- Type: FSNodeContext
- Mutability: no-effect
- Notes:
current context
- Type: Context
- Mutability: no-effect
- Notes:
This event is emitted when a shortcut is created.
This event is emitted when a symlink is created.
This event is emitted for fs move file operations.
current context
- Type: Context
- Mutability: no-effect
- Notes:
moved
- Type: any
- Mutability: no-effect
- Notes:
path to the affected resource
- Type: string
- Mutability: no-effect
- Notes:
This event is emitted for fs pending file operations.
This event reports progress of a copy operation.
tracks progress of the operation
- Type: ProgressTracker
- Mutability: no-effect
- Notes:
current context
- Type: Context
- Mutability: no-effect
- Notes:
additional metadata for the operation
- Type: object
- Mutability: no-effect
- Notes:
path to the affected resource
- Type: string
- Mutability: no-effect
- Notes:
This event reports progress of a upload-progress operation.
This event is emitted when a file is updated.
the file that was affected
- Type: FSNodeContext
- Mutability: no-effect
- Notes:
current context
- Type: Context
- Mutability: no-effect
- Notes:
This event is emitted when a validate is being validated. The event can be used to block certain validates from being validated.
whether the operation is allowed
- Type: boolean
- Mutability: mutable
- Notes:
- If set to false, the ip will be considered invalid.
ip
- Type: any
- Mutability: mutable
- Notes:
This event is emitted when a write-hash is updated.
hash
- Type: any
- Mutability: no-effect
- Notes:
uuid
- Type: string
- Mutability: no-effect
- Notes:
This event is emitted for outer gui item added operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui item moved operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui item pending operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted when a updated is updated.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui notif ack operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui notif message operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
notification
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui notif persisted operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui notif unreads operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for outer gui submission done operations.
user id list
- Type: string
- Mutability: no-effect
- Notes:
response
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for puter-exec submission done operations.
This event is emitted for sns operations.
message
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for template-service hello operations.
message
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for usages query operations.
actor
- Type: any
- Mutability: no-effect
- Notes:
usages
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for user email changed operations.
user id
- Type: string
- Mutability: no-effect
- Notes:
new email
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for user email confirmed operations.
user uid
- Type: string
- Mutability: no-effect
- Notes:
- Type: any
- Mutability: no-effect
- Notes:
This event is emitted for user save_account operations.
user associated with the operation
- Type: User
- Mutability: no-effect
- Notes:
This event is emitted for web socket connected operations.
socket
- Type: any
- Mutability: mutable
- Notes:
user associated with the operation
- Type: User
- Mutability: mutable
- Notes:
This event is emitted for web socket user connected operations.
socket
- Type: any
- Mutability: mutable
- Notes:
user associated with the operation
- Type: User
- Mutability: mutable
- Notes:
This event is emitted for wisp get policy operations.
whether the operation is allowed
- Type: boolean
- Mutability: mutable
- Notes:
policy information for the operation
- Type: Policy
- Mutability: mutable
- Notes:
This wiki is generated from the repository. Do not edit files the wiki.
You are reading documentation for Puter, an open-source high-level operating system.
Getting started with Puter on localhost is as simple as:
git clone https://github.com/HeyPuter/puter.git npm install npm run start- Index (README.md)
- api drivers
- Group Endpoints
- Notification Endpoints
- Share Endpoints
- Type-Tagged Objects
- Comment Prefixes
- contributors vscode
- Local Email Testing
- Puter Extensions
- Repository Structure and Tooling
- Configuring Domains for Self-Hosted Puter
- Configuring Puter
- First Run Issues
- self_hosters config_values
- self_hosters support
- Self-Hosting Puter
- Backend Style
- Puter Backend - Directory Structure
- Puter Backend Boot Sequence
- Puter Kernel Moduels and Services
- Batch and Symlinks
- Metered Services and Cost Management
- Protected Apps and Subdomains
- Service Scripts
- Index (README.md)
- Configuring AI Services
- PuterAI API Request Examples
- src backend src modules puterai config
####### For Contributors