agent-web-os 0.2.0 → 0.3.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -3
- package/README.zh-CN.md +2 -3
- package/dist/almostnode-session-NGSXCNAV.js +2102 -0
- package/dist/almostnode-session-NGSXCNAV.js.map +1 -0
- package/dist/chunk-I6U7BPDH.js +75192 -0
- package/dist/chunk-I6U7BPDH.js.map +1 -0
- package/dist/index.cjs +74855 -59051
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +435 -56559
- package/dist/index.js.map +1 -1
- package/dist/pyodide-session-I7LP2GQO.js +348 -0
- package/dist/pyodide-session-I7LP2GQO.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-QV36H6BY.js +0 -5325
- package/dist/chunk-QV36H6BY.js.map +0 -1
- package/dist/npm-C6N7BGOG.js +0 -14
- package/dist/npm-C6N7BGOG.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -100,7 +100,11 @@ type BrowserBashSessionOptions = {
|
|
|
100
100
|
env?: Record<string, string>;
|
|
101
101
|
/** Options for the ObservableInMemoryFs */
|
|
102
102
|
fsOptions?: ObservableInMemoryFsOptions;
|
|
103
|
-
/**
|
|
103
|
+
/** Enable Node.js runtime (node, npm commands). Lazy-loaded on first use. (default: false) */
|
|
104
|
+
node?: boolean;
|
|
105
|
+
/** Enable Python runtime via Pyodide (python, python3, pip commands). Lazy-loaded on first use. (default: false) */
|
|
106
|
+
python?: boolean;
|
|
107
|
+
/** Additional custom commands to register alongside the built-in commands */
|
|
104
108
|
customCommands?: CustomCommand[];
|
|
105
109
|
};
|
|
106
110
|
type ExecuteBrowserBashOptions = {
|
|
@@ -113,7 +117,7 @@ type ExecuteBrowserBashOptions = {
|
|
|
113
117
|
/** Output truncation limit (default: DEFAULT_BASH_OUTPUT_LIMIT) */
|
|
114
118
|
outputLimit?: number;
|
|
115
119
|
};
|
|
116
|
-
/** Create a browser-based bash session with in-memory filesystem
|
|
120
|
+
/** Create a browser-based bash session with in-memory filesystem */
|
|
117
121
|
declare function createBrowserBashSession(options?: BrowserBashSessionOptions): BrowserBashSession;
|
|
118
122
|
/** Execute a bash command and return a ToolResult */
|
|
119
123
|
declare function executeBrowserBash(session: BrowserBashSession, command: string, options?: ExecuteBrowserBashOptions): Promise<ToolResult>;
|
|
@@ -144,7 +148,7 @@ declare function executeBrowserBash(session: BrowserBashSession, command: string
|
|
|
144
148
|
|
|
145
149
|
declare function executeFd(args: string[], ctx: CommandContext): Promise<ExecResult>;
|
|
146
150
|
|
|
147
|
-
declare const AGENT_WEB_OS_VERSION = "0.
|
|
151
|
+
declare const AGENT_WEB_OS_VERSION = "0.3.0-beta.0";
|
|
148
152
|
|
|
149
153
|
type ServerBridge = {
|
|
150
154
|
initServiceWorker(): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -100,7 +100,11 @@ type BrowserBashSessionOptions = {
|
|
|
100
100
|
env?: Record<string, string>;
|
|
101
101
|
/** Options for the ObservableInMemoryFs */
|
|
102
102
|
fsOptions?: ObservableInMemoryFsOptions;
|
|
103
|
-
/**
|
|
103
|
+
/** Enable Node.js runtime (node, npm commands). Lazy-loaded on first use. (default: false) */
|
|
104
|
+
node?: boolean;
|
|
105
|
+
/** Enable Python runtime via Pyodide (python, python3, pip commands). Lazy-loaded on first use. (default: false) */
|
|
106
|
+
python?: boolean;
|
|
107
|
+
/** Additional custom commands to register alongside the built-in commands */
|
|
104
108
|
customCommands?: CustomCommand[];
|
|
105
109
|
};
|
|
106
110
|
type ExecuteBrowserBashOptions = {
|
|
@@ -113,7 +117,7 @@ type ExecuteBrowserBashOptions = {
|
|
|
113
117
|
/** Output truncation limit (default: DEFAULT_BASH_OUTPUT_LIMIT) */
|
|
114
118
|
outputLimit?: number;
|
|
115
119
|
};
|
|
116
|
-
/** Create a browser-based bash session with in-memory filesystem
|
|
120
|
+
/** Create a browser-based bash session with in-memory filesystem */
|
|
117
121
|
declare function createBrowserBashSession(options?: BrowserBashSessionOptions): BrowserBashSession;
|
|
118
122
|
/** Execute a bash command and return a ToolResult */
|
|
119
123
|
declare function executeBrowserBash(session: BrowserBashSession, command: string, options?: ExecuteBrowserBashOptions): Promise<ToolResult>;
|
|
@@ -144,7 +148,7 @@ declare function executeBrowserBash(session: BrowserBashSession, command: string
|
|
|
144
148
|
|
|
145
149
|
declare function executeFd(args: string[], ctx: CommandContext): Promise<ExecResult>;
|
|
146
150
|
|
|
147
|
-
declare const AGENT_WEB_OS_VERSION = "0.
|
|
151
|
+
declare const AGENT_WEB_OS_VERSION = "0.3.0-beta.0";
|
|
148
152
|
|
|
149
153
|
type ServerBridge = {
|
|
150
154
|
initServiceWorker(): Promise<void>;
|