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.
Files changed (51) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +28 -30
  3. package/dist/archil.d.ts +73 -0
  4. package/dist/archil.js +673 -0
  5. package/dist/build.cjs +129 -5160
  6. package/dist/build.d.cts +9 -5
  7. package/dist/build.d.ts +9 -5
  8. package/dist/build.js +4 -6
  9. package/dist/{chunk-JF5YPOBY.js → chunk-FHNQ5DNA.js} +3235 -511
  10. package/dist/{chunk-M7XNBKG4.js → chunk-I5GIWADK.js} +29 -7
  11. package/dist/chunk-I5NULOJP.js +129 -0
  12. package/dist/chunk-PKUGXECR.js +13 -0
  13. package/dist/chunk-QA4L7ZI2.js +72 -0
  14. package/dist/{chunk-KG6SJM74.js → chunk-VHBDBB3N.js} +8 -5
  15. package/dist/cli.cjs +124 -5154
  16. package/dist/cli.js +7 -8
  17. package/dist/define-gdmBe9RA.d.ts +227 -0
  18. package/dist/durable.d.ts +53 -0
  19. package/dist/durable.js +92 -0
  20. package/dist/index.cjs +720 -833
  21. package/dist/index.d.cts +139 -78
  22. package/dist/index.d.ts +139 -78
  23. package/dist/index.js +12 -11
  24. package/dist/inside.d.ts +15 -0
  25. package/dist/inside.js +530 -0
  26. package/dist/{invoke-client-P2CPBYTF.js → invoke-client-QB2NTZ3L.js} +1 -2
  27. package/dist/pi-watch-legacy.d.ts +4503 -0
  28. package/dist/serve.cjs +9 -309
  29. package/dist/serve.d.cts +14 -1
  30. package/dist/serve.d.ts +14 -1
  31. package/dist/serve.js +3 -5
  32. package/docs/AGENT.md +95 -59
  33. package/docs/DAYTONA.md +2 -0
  34. package/docs/DOCKER.md +0 -1
  35. package/docs/E2B.md +1 -1
  36. package/docs/LEGACY.md +1 -8
  37. package/docs/MODAL.md +1 -1
  38. package/package.json +57 -23
  39. package/types/pi-watch.d.cts +68 -0
  40. package/dist/chunk-33IXN6MM.js +0 -21
  41. package/dist/chunk-6P5I7ZCH.js +0 -2552
  42. package/dist/chunk-M3FISP7J.js +0 -377
  43. package/dist/sandbox-capabilities-CFjnZ_kB.d.cts +0 -77
  44. package/dist/sandbox-capabilities-CFjnZ_kB.d.ts +0 -77
  45. package/dist/serve-Dan1HQKN.d.cts +0 -89
  46. package/dist/serve-Dan1HQKN.d.ts +0 -89
  47. package/dist/supervisor.cjs +0 -5731
  48. package/dist/supervisor.d.cts +0 -482
  49. package/dist/supervisor.d.ts +0 -482
  50. package/dist/supervisor.js +0 -3187
  51. 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 './sandbox-capabilities-CFjnZ_kB.cjs';
4
- import './serve-Dan1HQKN.cjs';
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<unknown>;
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<unknown>;
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 './sandbox-capabilities-CFjnZ_kB.js';
4
- import './serve-Dan1HQKN.js';
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<unknown>;
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<unknown>;
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-M7XNBKG4.js";
7
- import "./chunk-JF5YPOBY.js";
8
- import "./chunk-6P5I7ZCH.js";
9
- import "./chunk-M3FISP7J.js";
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,