@tablation/crew 0.169.2 → 0.169.4

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/cli.js CHANGED
@@ -614,7 +614,7 @@ var serenaPaths = (stateDir, route2, ticket) => ({
614
614
  var serenaFolderFor = (stateDir, route2, ticket) => serenaPaths(stateDir, route2, ticket).project;
615
615
  function serenaConfigYaml(projectFolder) {
616
616
  return [
617
- "# Written by crew (CREW-2914); regenerated on every start.",
617
+ "# Written by crew; regenerated on every start.",
618
618
  "web_dashboard: False",
619
619
  `project_serena_folder_location: ${JSON.stringify(projectFolder)}`,
620
620
  ""
@@ -1065,7 +1065,7 @@ function readAllPersistedWorkspaceIds(stateDir) {
1065
1065
  }
1066
1066
  var TUNNEL_REJECTED_KEY = "tunnel_rejected";
1067
1067
  function tunnelRejectedMessage(workspaceId, quickExits) {
1068
- return `the relay tunnel for workspace ${workspaceId} exited before settling on ${quickExits} consecutive cycles, which is how a refused claim looks (the relay logs "slug already owned by another workspace/ssh key") \u2014 rotate the slug with \`crew rotate-passenger-url\` or check the relay journal. If the relay logged no rejection, a Linux passengers unit without KillMode=process kills the tunnel when the sync exits (CREW-2994): run \`crew install\`, and see \`crew doctor\``;
1068
+ return `the relay tunnel for workspace ${workspaceId} exited before settling on ${quickExits} consecutive cycles, which is how a refused claim looks (the relay logs "slug already owned by another workspace/ssh key") \u2014 rotate the slug with \`crew rotate-passenger-url\` or check the relay journal. If the relay logged no rejection, a Linux passengers unit without KillMode=process kills the tunnel when the sync exits: run \`crew install\`, and see \`crew doctor\``;
1069
1069
  }
1070
1070
  function staleTunnelAttentionKeys(openKeys, plannedIds) {
1071
1071
  const prefixes = [`${TUNNEL_REJECTED_KEY}:`, `${RELAY_CONTROL_UNSUPPORTED_KEY}:`];
@@ -5756,7 +5756,7 @@ StandardOutput=append:${schedulerLog}
5756
5756
  StandardError=append:${schedulerLog}
5757
5757
  Restart=always
5758
5758
  RestartSec=5
5759
- # CREW-1775: a restart stops only the daemon; agent runs it started live in
5759
+ # A restart stops only the daemon; agent runs it started live in
5760
5760
  # their own process groups and the next daemon reattaches to them.
5761
5761
  KillMode=process
5762
5762
 
@@ -5791,7 +5791,7 @@ WorkingDirectory=${crewHome}
5791
5791
  ${systemdEnvLines(ship)}
5792
5792
  StandardOutput=append:${schedulerLog}
5793
5793
  StandardError=append:${schedulerLog}${job === "passengers" ? `
5794
- # CREW-2994: the sync spawns the relay tunnel (a detached ssh) and exits. The
5794
+ # The sync spawns the relay tunnel (a detached ssh) and exits. The
5795
5795
  # default KillMode=control-group would kill that ssh with the rest of this
5796
5796
  # one-shot unit's cgroup, so no tunnel would ever survive to "connected".
5797
5797
  KillMode=process` : ""}
@@ -9544,7 +9544,7 @@ function validateContract(c) {
9544
9544
  }
9545
9545
  return problems;
9546
9546
  }
9547
- var EVENT_LOG_MISSING = "the Issues table has no event log \u2014 crew writes its audit trail there (CREW-1574). In the app, open the Issues table's Data & lifecycle tab and turn on Event log, then rerun.";
9547
+ var EVENT_LOG_MISSING = "the Issues table has no event log \u2014 crew writes its audit trail there. In the app, open the Issues table's Data & lifecycle tab and turn on Event log, then rerun.";
9548
9548
  var EVENT_LOG_STATUS_UNTRACKED = (column) => `the Issues table's event log does not track the "${column}" column, so who accepted a ticket cannot be known and a seat parks questions on the filer or operator instead. In the app, open the Issues table's Data & lifecycle tab and add "${column}" to the tracked fields.`;
9549
9549
  var PERISCOPE_COLUMNS = [
9550
9550
  "issue_id",
@@ -14275,7 +14275,7 @@ async function syncPersonas(route2, opts) {
14275
14275
  } catch (e) {
14276
14276
  if (e instanceof TablationApiError2 && e.status === 404) {
14277
14277
  throw new AgentsSyncError(
14278
- `workspace ${workspaceId} has no Agents table yet \u2014 every workspace auto-provisions one (ISSUE-465); an older workspace may still need its one-time backfill`
14278
+ `workspace ${workspaceId} has no Agents table yet \u2014 every workspace auto-provisions one; an older workspace may still need its one-time backfill`
14279
14279
  );
14280
14280
  }
14281
14281
  throw e;
@@ -14547,7 +14547,7 @@ async function ensureCrewAgentField(route2, client2, crewModel, agentsModelId, u
14547
14547
  name: CREW_AGENT_FIELD_NAME,
14548
14548
  columnName: CREW_AGENT_COLUMN,
14549
14549
  fieldTypeId: fieldType.id,
14550
- description: "The Agents-table row backing this seat's persona \u2014 set by `crew agents sync` (ISSUE-416), never edited by hand."
14550
+ description: "The Agents-table row backing this seat's persona \u2014 set by `crew agents sync`, never edited by hand."
14551
14551
  })
14552
14552
  });
14553
14553
  if (createRes.status === 403) throw new CrewAgentFieldMissing();
@@ -16759,7 +16759,7 @@ export GIT_TERMINAL_PROMPT=0
16759
16759
  git config --global --add safe.directory '*'
16760
16760
  if [ -n "$CREW_FORGE_TOKEN" ]; then
16761
16761
  # An inline credential helper, not http.extraHeader: GitHub answers a preemptive Basic header
16762
- # with 401 and git then prompts (CREW-2965). The helper body is single-quoted so the shell passes
16762
+ # with 401 and git then prompts. The helper body is single-quoted so the shell passes
16763
16763
  # it literally and git's own shell expands the env when it runs the helper: no token in argv.
16764
16764
  git() { command git -c credential.helper= -c 'credential.helper=!f() { echo username=\${CREW_FORGE_USER:-x-access-token}; echo password=$CREW_FORGE_TOKEN; }; f' "$@"; }
16765
16765
  fi
@@ -28548,7 +28548,7 @@ async function showLogEntry(route2, entryId, opts = {}) {
28548
28548
  ...withInference,
28549
28549
  reconstruction: {
28550
28550
  status: "not_recorded",
28551
- reason: !entry.agent_id ? "this entry has no linked Agents row (predates crew agents sync being run for its role)" : "this entry predates ISSUE-377/529 \u2014 no prompt_version was recorded"
28551
+ reason: !entry.agent_id ? "this entry has no linked Agents row (predates crew agents sync being run for its role)" : "this entry predates prompt versioning \u2014 no prompt_version was recorded"
28552
28552
  }
28553
28553
  };
28554
28554
  }
@@ -29860,7 +29860,7 @@ import { dirname as dirOf2, resolve as resolvePath } from "path";
29860
29860
  import { existsSync as existsSync56, readdirSync as readdirSync18, statSync as statSync17 } from "fs";
29861
29861
  import { join as join61 } from "path";
29862
29862
  function builtVersion() {
29863
- return true ? "0.169.2" : null;
29863
+ return true ? "0.169.4" : null;
29864
29864
  }
29865
29865
  var REBUILD_HINT = "rebuild with npm run build";
29866
29866
  function newestMtime(path) {
@@ -32291,7 +32291,7 @@ var sessionRole = process.env[CREW_LANE_ROLE_VAR];
32291
32291
  if (sessionRole && (STATE_WRITING_COMMANDS.has(command) || STATE_WRITING_SUBCOMMANDS[command]?.has(positional[1] ?? ""))) {
32292
32292
  const full = positional[1] && STATE_WRITING_SUBCOMMANDS[command] ? `${command} ${positional[1]}` : command;
32293
32293
  process.stderr.write(
32294
- `crew: refusing to run "${full}" \u2014 this process is a crew-launched agent session (${CREW_LANE_ROLE_VAR}=${sessionRole}), and "${full}" writes to this ship's real crew.yaml/stateDir. A session must never touch the live config (CREW-978 \u2014 this took down polling for every lane, once). If exercising the CLI genuinely needs to run, point it at a throwaway config first: CREW_CONFIG=/tmp/... crew ${full} ...
32294
+ `crew: refusing to run "${full}" \u2014 this process is a crew-launched agent session (${CREW_LANE_ROLE_VAR}=${sessionRole}), and "${full}" writes to this ship's real crew.yaml/stateDir. A session must never touch the live config (a session once took down polling for every lane). If exercising the CLI genuinely needs to run, point it at a throwaway config first: CREW_CONFIG=/tmp/... crew ${full} ...
32295
32295
  `
32296
32296
  );
32297
32297
  process.exit(2);
@@ -24463,7 +24463,7 @@ var serenaPaths = (stateDir, route, ticket) => ({
24463
24463
  });
24464
24464
  function serenaConfigYaml(projectFolder) {
24465
24465
  return [
24466
- "# Written by crew (CREW-2914); regenerated on every start.",
24466
+ "# Written by crew; regenerated on every start.",
24467
24467
  "web_dashboard: False",
24468
24468
  `project_serena_folder_location: ${JSON.stringify(projectFolder)}`,
24469
24469
  ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tablation/crew",
3
- "version": "0.169.2",
3
+ "version": "0.169.4",
4
4
  "description": "A standing team of headless agents that picks work off a Tablation board, does it on a machine you control, and reports back.",
5
5
  "type": "module",
6
6
  "license": "MIT",