agent-neckbeard 1.1.28 → 1.1.30
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/CHANGELOG.md +12 -0
- package/README.md +28 -30
- package/dist/archil.d.ts +73 -0
- package/dist/archil.js +673 -0
- package/dist/build.cjs +129 -5160
- package/dist/build.d.cts +9 -5
- package/dist/build.d.ts +9 -5
- package/dist/build.js +4 -6
- package/dist/{chunk-JF5YPOBY.js → chunk-FHNQ5DNA.js} +3235 -511
- package/dist/{chunk-M7XNBKG4.js → chunk-I5GIWADK.js} +29 -7
- package/dist/chunk-I5NULOJP.js +129 -0
- package/dist/chunk-PKUGXECR.js +13 -0
- package/dist/chunk-QA4L7ZI2.js +72 -0
- package/dist/{chunk-KG6SJM74.js → chunk-VHBDBB3N.js} +8 -5
- package/dist/cli.cjs +124 -5154
- package/dist/cli.js +7 -8
- package/dist/define-gdmBe9RA.d.ts +227 -0
- package/dist/durable.d.ts +53 -0
- package/dist/durable.js +92 -0
- package/dist/index.cjs +720 -833
- package/dist/index.d.cts +139 -78
- package/dist/index.d.ts +139 -78
- package/dist/index.js +12 -11
- package/dist/inside.d.ts +15 -0
- package/dist/inside.js +530 -0
- package/dist/{invoke-client-P2CPBYTF.js → invoke-client-QB2NTZ3L.js} +1 -2
- package/dist/pi-watch-legacy.d.ts +4503 -0
- package/dist/serve.cjs +9 -309
- package/dist/serve.d.cts +14 -1
- package/dist/serve.d.ts +14 -1
- package/dist/serve.js +3 -5
- package/docs/AGENT.md +95 -59
- package/docs/DAYTONA.md +2 -0
- package/docs/DOCKER.md +0 -1
- package/docs/E2B.md +1 -1
- package/docs/LEGACY.md +1 -8
- package/docs/MODAL.md +1 -1
- package/package.json +57 -23
- package/types/pi-watch.d.cts +68 -0
- package/dist/chunk-33IXN6MM.js +0 -21
- package/dist/chunk-6P5I7ZCH.js +0 -2552
- package/dist/chunk-M3FISP7J.js +0 -377
- package/dist/sandbox-capabilities-CFjnZ_kB.d.cts +0 -77
- package/dist/sandbox-capabilities-CFjnZ_kB.d.ts +0 -77
- package/dist/serve-Dan1HQKN.d.cts +0 -89
- package/dist/serve-Dan1HQKN.d.ts +0 -89
- package/dist/supervisor.cjs +0 -5731
- package/dist/supervisor.d.cts +0 -482
- package/dist/supervisor.d.ts +0 -482
- package/dist/supervisor.js +0 -3187
- package/docs/SUPERVISOR.md +0 -258
package/dist/build.d.cts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { DefinedAgent } from './index.cjs';
|
|
1
|
+
import { DefinedAgent, DefinedHostAgent } from './index.cjs';
|
|
2
2
|
import 'node:buffer';
|
|
3
|
-
import '
|
|
4
|
-
import './serve
|
|
3
|
+
import 'agent-neckbeard/pi-watch';
|
|
4
|
+
import './serve.cjs';
|
|
5
5
|
|
|
6
6
|
interface PushAgentOptions {
|
|
7
7
|
/** The module that defines the agent with `defineAgent()`, relative to `cwd`. */
|
|
8
8
|
module: string;
|
|
9
|
+
/** Build a skills-only Archil image with this Dockerfile. */
|
|
10
|
+
archilDockerfile?: string;
|
|
9
11
|
/** Which export is the agent; defaults to the default export, or the module's only agent. */
|
|
10
12
|
exportName?: string;
|
|
11
13
|
/** The agent's package directory. Defaults to the current directory. */
|
|
@@ -44,12 +46,14 @@ interface BuildAgentOptions {
|
|
|
44
46
|
cwd?: string;
|
|
45
47
|
/** Output directory, relative to `cwd`. Defaults to `dist-sandbox`. */
|
|
46
48
|
outDir?: string;
|
|
49
|
+
/** Install only the tools image's skills and skill index. */
|
|
50
|
+
toolsOnly?: boolean;
|
|
47
51
|
/** Receives the skills CLI's output. */
|
|
48
52
|
onLog?: (line: string) => void;
|
|
49
53
|
}
|
|
50
54
|
interface BuildAgentResult {
|
|
51
55
|
/** The agent the module defines. */
|
|
52
|
-
agent: DefinedAgent
|
|
56
|
+
agent: DefinedAgent | DefinedHostAgent;
|
|
53
57
|
outDir: string;
|
|
54
58
|
/** Versions of the packages the image installs. */
|
|
55
59
|
dependencies: Record<string, string>;
|
|
@@ -73,7 +77,7 @@ declare function buildAgent(options: BuildAgentOptions): Promise<BuildAgentResul
|
|
|
73
77
|
* TypeScript module loads without a loader, and returns the agent and its export's name.
|
|
74
78
|
*/
|
|
75
79
|
declare function loadAgent(module: string, exportName?: string): Promise<{
|
|
76
|
-
agent: DefinedAgent
|
|
80
|
+
agent: DefinedAgent | DefinedHostAgent;
|
|
77
81
|
exportName: string;
|
|
78
82
|
}>;
|
|
79
83
|
|
package/dist/build.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { DefinedAgent } from './index.js';
|
|
1
|
+
import { DefinedAgent, DefinedHostAgent } from './index.js';
|
|
2
2
|
import 'node:buffer';
|
|
3
|
-
import '
|
|
4
|
-
import './serve
|
|
3
|
+
import 'agent-neckbeard/pi-watch';
|
|
4
|
+
import './serve.js';
|
|
5
5
|
|
|
6
6
|
interface PushAgentOptions {
|
|
7
7
|
/** The module that defines the agent with `defineAgent()`, relative to `cwd`. */
|
|
8
8
|
module: string;
|
|
9
|
+
/** Build a skills-only Archil image with this Dockerfile. */
|
|
10
|
+
archilDockerfile?: string;
|
|
9
11
|
/** Which export is the agent; defaults to the default export, or the module's only agent. */
|
|
10
12
|
exportName?: string;
|
|
11
13
|
/** The agent's package directory. Defaults to the current directory. */
|
|
@@ -44,12 +46,14 @@ interface BuildAgentOptions {
|
|
|
44
46
|
cwd?: string;
|
|
45
47
|
/** Output directory, relative to `cwd`. Defaults to `dist-sandbox`. */
|
|
46
48
|
outDir?: string;
|
|
49
|
+
/** Install only the tools image's skills and skill index. */
|
|
50
|
+
toolsOnly?: boolean;
|
|
47
51
|
/** Receives the skills CLI's output. */
|
|
48
52
|
onLog?: (line: string) => void;
|
|
49
53
|
}
|
|
50
54
|
interface BuildAgentResult {
|
|
51
55
|
/** The agent the module defines. */
|
|
52
|
-
agent: DefinedAgent
|
|
56
|
+
agent: DefinedAgent | DefinedHostAgent;
|
|
53
57
|
outDir: string;
|
|
54
58
|
/** Versions of the packages the image installs. */
|
|
55
59
|
dependencies: Record<string, string>;
|
|
@@ -73,7 +77,7 @@ declare function buildAgent(options: BuildAgentOptions): Promise<BuildAgentResul
|
|
|
73
77
|
* TypeScript module loads without a loader, and returns the agent and its export's name.
|
|
74
78
|
*/
|
|
75
79
|
declare function loadAgent(module: string, exportName?: string): Promise<{
|
|
76
|
-
agent: DefinedAgent
|
|
80
|
+
agent: DefinedAgent | DefinedHostAgent;
|
|
77
81
|
exportName: string;
|
|
78
82
|
}>;
|
|
79
83
|
|
package/dist/build.js
CHANGED
|
@@ -3,12 +3,10 @@ import {
|
|
|
3
3
|
buildAgent,
|
|
4
4
|
loadAgent,
|
|
5
5
|
pushAgent
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-KG6SJM74.js";
|
|
11
|
-
import "./chunk-33IXN6MM.js";
|
|
6
|
+
} from "./chunk-I5GIWADK.js";
|
|
7
|
+
import "./chunk-FHNQ5DNA.js";
|
|
8
|
+
import "./chunk-PKUGXECR.js";
|
|
9
|
+
import "./chunk-VHBDBB3N.js";
|
|
12
10
|
export {
|
|
13
11
|
SKILLS_CLI_VERSION,
|
|
14
12
|
buildAgent,
|