@shipers-dev/multi 0.6.2 → 0.6.3

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/dist/index.js CHANGED
@@ -5382,12 +5382,12 @@ function extractText(content) {
5382
5382
 
5383
5383
  // src/acpx-runner.ts
5384
5384
  async function runAcpx(opts) {
5385
- const args = ["acpx", "--format", "json", "--json-strict", "--approve-all"];
5385
+ const args = ["acpx", "--format", "json", "--json-strict", "--approve-all", "--ttl", "0"];
5386
5386
  if (opts.cwd)
5387
5387
  args.push("--cwd", opts.cwd);
5388
5388
  args.push(opts.agentType);
5389
5389
  if (opts.sessionName) {
5390
- const ensureArgs = ["acpx", ...opts.cwd ? ["--cwd", opts.cwd] : [], opts.agentType, "sessions", "ensure", "--name", opts.sessionName];
5390
+ const ensureArgs = ["acpx", "--ttl", "0", ...opts.cwd ? ["--cwd", opts.cwd] : [], opts.agentType, "sessions", "ensure", "--name", opts.sessionName];
5391
5391
  try {
5392
5392
  const ensure = Bun.spawn(ensureArgs, { stdout: "pipe", stderr: "pipe", stdin: "ignore" });
5393
5393
  await ensure.exited;
@@ -5553,7 +5553,7 @@ var LOG_PATH = join(MULTI_DIR, "logs", "agent.log");
5553
5553
  var SKILLS_DIR = join(MULTI_DIR, "skills");
5554
5554
  var STOP_PATH = join(MULTI_DIR, "stop.flag");
5555
5555
  var TASKS_DB_PATH = join(MULTI_DIR, "tasks.db");
5556
- var VERSION = "0.6.2";
5556
+ var VERSION = "0.6.3";
5557
5557
  var COMMANDS = {
5558
5558
  setup: "Register this device with a workspace",
5559
5559
  connect: "Connect device to realtime hub and execute assigned tasks",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipers-dev/multi",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "multi-agent": "./dist/index.js"
@@ -16,13 +16,13 @@ export interface AcpxRunOpts {
16
16
  }
17
17
 
18
18
  export async function runAcpx(opts: AcpxRunOpts): Promise<{ stopReason: string }> {
19
- const args = ['acpx', '--format', 'json', '--json-strict', '--approve-all'];
19
+ const args = ['acpx', '--format', 'json', '--json-strict', '--approve-all', '--ttl', '0'];
20
20
  if (opts.cwd) args.push('--cwd', opts.cwd);
21
21
  args.push(opts.agentType);
22
22
  // Ensure a session exists for this name (idempotent). ensure = get-or-create.
23
23
  // We run it as a separate invocation, then prompt.
24
24
  if (opts.sessionName) {
25
- const ensureArgs = ['acpx', ...(opts.cwd ? ['--cwd', opts.cwd] : []), opts.agentType, 'sessions', 'ensure', '--name', opts.sessionName];
25
+ const ensureArgs = ['acpx', '--ttl', '0', ...(opts.cwd ? ['--cwd', opts.cwd] : []), opts.agentType, 'sessions', 'ensure', '--name', opts.sessionName];
26
26
  try {
27
27
  const ensure = Bun.spawn(ensureArgs, { stdout: 'pipe', stderr: 'pipe', stdin: 'ignore' });
28
28
  await ensure.exited;
package/src/index.ts CHANGED
@@ -17,7 +17,7 @@ const LOG_PATH = join(MULTI_DIR, 'logs', 'agent.log');
17
17
  const SKILLS_DIR = join(MULTI_DIR, 'skills');
18
18
  const STOP_PATH = join(MULTI_DIR, 'stop.flag');
19
19
  const TASKS_DB_PATH = join(MULTI_DIR, 'tasks.db');
20
- const VERSION = '0.6.2';
20
+ const VERSION = '0.6.3';
21
21
 
22
22
  const COMMANDS = {
23
23
  setup: 'Register this device with a workspace',