@songsid/agend 2.3.5-beta.2 → 2.3.5-beta.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/agent-cli-instructions.md +2 -2
- package/dist/auth-api.d.ts +2 -0
- package/dist/auth-api.js +5 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/claude-code.d.ts +2 -0
- package/dist/backend/claude-code.js +16 -3
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/cli-env-probe.js +6 -2
- package/dist/backend/cli-env-probe.js.map +1 -1
- package/dist/backend/codex.d.ts +5 -3
- package/dist/backend/codex.js +31 -13
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/kiro.js +1 -1
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/types.d.ts +5 -1
- package/dist/backend/types.js.map +1 -1
- package/dist/bundled-tmux-guard.d.ts +4 -0
- package/dist/bundled-tmux-guard.js +7 -0
- package/dist/bundled-tmux-guard.js.map +1 -1
- package/dist/cache-service.d.ts +6 -0
- package/dist/cache-service.js +105 -0
- package/dist/cache-service.js.map +1 -1
- package/dist/channel/mcp-tools.js +2 -2
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/cli.js +28 -1
- package/dist/cli.js.map +1 -1
- package/dist/daemon.d.ts +3 -0
- package/dist/daemon.js +17 -2
- package/dist/daemon.js.map +1 -1
- package/dist/fleet-manager.d.ts +71 -0
- package/dist/fleet-manager.js +393 -92
- package/dist/fleet-manager.js.map +1 -1
- package/dist/fleet-process-handlers.d.ts +1 -1
- package/dist/fleet-process-handlers.js +3 -2
- package/dist/fleet-process-handlers.js.map +1 -1
- package/dist/general-knowledge/skills/concepts/SKILL.md +11 -12
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +9 -1
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +12 -0
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +1 -1
- package/dist/general-knowledge/skills/instance-lifecycle/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +16 -11
- package/dist/instance-lifecycle.d.ts +1 -1
- package/dist/instance-lifecycle.js +16 -1
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/instructions.js +29 -6
- package/dist/instructions.js.map +1 -1
- package/dist/kiro-history-scan.d.ts +26 -0
- package/dist/kiro-history-scan.js +141 -0
- package/dist/kiro-history-scan.js.map +1 -0
- package/dist/kiro-history-worker.d.ts +1 -0
- package/dist/kiro-history-worker.js +9 -0
- package/dist/kiro-history-worker.js.map +1 -0
- package/dist/kiro-history.d.ts +20 -0
- package/dist/kiro-history.js +96 -0
- package/dist/kiro-history.js.map +1 -0
- package/dist/kiro-usage-run.d.ts +2 -0
- package/dist/kiro-usage-run.js +4 -1
- package/dist/kiro-usage-run.js.map +1 -1
- package/dist/locale.js +69 -67
- package/dist/locale.js.map +1 -1
- package/dist/login-flows.d.ts +4 -0
- package/dist/login-flows.js +8 -4
- package/dist/login-flows.js.map +1 -1
- package/dist/office-levels.d.ts +4 -3
- package/dist/office-levels.js +3 -3
- package/dist/office-levels.js.map +1 -1
- package/dist/outbound-handlers.js +32 -12
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +14 -0
- package/dist/outbound-schemas.js +4 -0
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/setup-i18n.js +4 -4
- package/dist/setup-i18n.js.map +1 -1
- package/dist/subagent-records.d.ts +45 -0
- package/dist/subagent-records.js +214 -0
- package/dist/subagent-records.js.map +1 -0
- package/dist/subagent-service.d.ts +27 -0
- package/dist/subagent-service.js +199 -0
- package/dist/subagent-service.js.map +1 -0
- package/dist/tool-permissions.d.ts +2 -3
- package/dist/tool-permissions.js +3 -3
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/backend-signin.js +62 -62
- package/dist/ui/chat-commands.js +7 -0
- package/dist/ui/chat-msg-actions.js +50 -4
- package/dist/ui/chat-quote.js +256 -0
- package/dist/ui/chat-render.js +17 -5
- package/dist/ui/chat-store.js +9 -4
- package/dist/ui/chat-strings.js +18 -18
- package/dist/ui/fleet-cache.js +3 -3
- package/dist/ui/fleet-canvas.js +2 -2
- package/dist/ui/fleet-office-editor.js +1 -1
- package/dist/ui/fleet-office.js +1 -1
- package/dist/ui/fleet-org.js +2 -2
- package/dist/ui/fleet-task-card.js +1 -1
- package/dist/ui/fleet-task-common.js +7 -7
- package/dist/ui/model-picker.js +64 -0
- package/dist/ui/panel-chat.js +81 -17
- package/dist/ui/panel-fleet.js +8 -8
- package/dist/ui/panel-needs.js +3 -3
- package/dist/ui/panel-settings.js +16 -6
- package/dist/ui/settings-catalog.js +19 -4
- package/dist/ui/settings-dialogs.js +25 -8
- package/dist/ui/settings-guests.js +1 -1
- package/dist/ui/settings-registry.js +3 -1
- package/dist/ui/settings-strings.js +30 -26
- package/dist/ui/settings-update.js +69 -0
- package/dist/ui/shared/app-i18n.js +8 -4
- package/dist/ui/shared/app-shell.js +15 -2
- package/dist/ui/shared/app-update.js +215 -0
- package/dist/ui/shared/app.css +58 -6
- package/dist/ui/shared/instance-nav.js +1 -1
- package/dist/ui/shared/model-picker.css +21 -0
- package/dist/ui/shared/setup-host-text.js +4 -4
- package/dist/ui/shared/signin.js +32 -16
- package/dist/ui/shared/subagent-row.css +15 -0
- package/dist/ui/shared/usage-dialog.js +28 -16
- package/dist/ui/shared/view-strings.js +18 -18
- package/dist/ui/structured-signin.js +26 -26
- package/dist/ui/subagent-row.js +72 -0
- package/dist/ui/web-terminal/terminal.js +9 -9
- package/dist/update-launch.js +4 -1
- package/dist/update-launch.js.map +1 -1
- package/dist/update-marker.d.ts +2 -2
- package/dist/update-marker.js +4 -3
- package/dist/update-marker.js.map +1 -1
- package/dist/update-npm-env.d.ts +70 -0
- package/dist/update-npm-env.js +128 -0
- package/dist/update-npm-env.js.map +1 -0
- package/dist/usage/format-rich.js +1 -1
- package/dist/usage/format-rich.js.map +1 -1
- package/dist/usage/providers.js +2 -2
- package/dist/usage/providers.js.map +1 -1
- package/dist/usage/usage-api.d.ts +8 -2
- package/dist/usage/usage-api.js +12 -5
- package/dist/usage/usage-api.js.map +1 -1
- package/dist/usage-rollup.d.ts +3 -0
- package/dist/usage-rollup.js +2 -0
- package/dist/usage-rollup.js.map +1 -1
- package/dist/web-api.d.ts +14 -0
- package/dist/web-api.js +216 -2
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.js +2 -1
- package/dist/web-auth.js.map +1 -1
- package/dist/web-channel-echo.js +3 -1
- package/dist/web-channel-echo.js.map +1 -1
- package/dist/web-commands.d.ts +8 -0
- package/dist/web-commands.js +6 -0
- package/dist/web-commands.js.map +1 -1
- package/dist/web-update.d.ts +77 -0
- package/dist/web-update.js +104 -0
- package/dist/web-update.js.map +1 -0
- package/launcher/agend-install.cjs +16 -3
- package/package.json +2 -2
package/dist/daemon.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SubagentSource } from "./subagent-service.js";
|
|
1
2
|
import type { RecoveryLive } from "./working-recovery.js";
|
|
2
3
|
import type { PaneContextSource } from "./pane-context-cache.js";
|
|
3
4
|
import type { WorkingStateObservation } from "./working-state-journal.js";
|
|
@@ -465,6 +466,8 @@ export declare class Daemon extends EventEmitter {
|
|
|
465
466
|
private transcriptMonitor;
|
|
466
467
|
/** #1218: the transcript this instance's monitor follows now (the Log tab reads it on demand; nothing runs for it here). */
|
|
467
468
|
logTranscriptPath(): string | null;
|
|
469
|
+
/** Optional read-only child lane: only a current owned tmux launch, never stopped/native/cwd discovery. */
|
|
470
|
+
subagentSource(): SubagentSource | null;
|
|
468
471
|
/** #1218 (kiro): the launch this daemon's backend last built, for the Log's reason only (kiro-log-gate.ts). */
|
|
469
472
|
logLaunch(): KiroLogLaunch | null;
|
|
470
473
|
kiroMigrationIdle(): Promise<boolean>;
|
package/dist/daemon.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { codexMetadataHomes } from "./backend/codex-metadata.js";
|
|
1
2
|
import { claudeMinimumError, cliVersionBelow } from "./claude-model-minimum.js";
|
|
2
3
|
import { quotaNoticeProblem } from "./quota-notice-config.js";
|
|
3
4
|
import { quotaHistoryCount, quotaAfterInput } from "./pane-quota-history.js";
|
|
@@ -6,7 +7,7 @@ import { readActiveKiroModel } from "./backend/kiro.js";
|
|
|
6
7
|
import { dashboardAccessOf } from "./dashboard-permissions.js";
|
|
7
8
|
import { sendPackSources } from "./web-office-pack-read.js";
|
|
8
9
|
import { agendVersion, planWhatsNew, readWhatsNewRecord, recordWhatsNew, withWhatsNew } from "./agent-whats-new.js";
|
|
9
|
-
import { join, dirname, resolve } from "node:path";
|
|
10
|
+
import { join, dirname, basename, resolve } from "node:path";
|
|
10
11
|
import { checkoutTarget, readCheckouts, releaseCandidate, reposRoot, verifyWorktree, writeCheckouts } from "./repo-worktree-guard.js";
|
|
11
12
|
import { mkdirSync, writeFileSync, readFileSync, readdirSync, existsSync, unlinkSync, rmSync, appendFileSync, statSync, renameSync } from "node:fs";
|
|
12
13
|
import { COMPACT_WATCH_TIMEOUT_MS, launchIdentity } from "./compact-watch.js";
|
|
@@ -70,7 +71,7 @@ import { TranscriptDeltaReader } from "./transcript-delta-reader.js";
|
|
|
70
71
|
import { buildResumeContinuation, clearInFlightTurnMarker, consumeInFlightTurnMarker, decideTurnResume, normalizeResumeBackend, readResumeFingerprint, RESUME_BLOCKING_DELIVERY_STATES, writeInFlightTurnMarker, } from "./turn-resume.js";
|
|
71
72
|
import { codexLiveRowMatches } from "./backend/codex.js";
|
|
72
73
|
import { codexPackageProblemMessage } from "./backend/codex-package.js";
|
|
73
|
-
import { claudeConfigDirFor, claudeProfileConfigDir, claudeSwitchDialog, claudeSwitchTargetMatches } from "./backend/claude-code.js";
|
|
74
|
+
import { claudeConfigDirFor, claudeProfileConfigDir, claudeProjectKey, claudeSwitchDialog, claudeSwitchTargetMatches } from "./backend/claude-code.js";
|
|
74
75
|
import { MuseBackend } from "./backend/muse.js";
|
|
75
76
|
import { BACKEND_LABELS, InteractionObservation, INTERACTION_CONFIRM_MS, sameInteractionOwner } from "./interaction-observation.js";
|
|
76
77
|
import { unrecognisedPromptShape } from "./unrecognised-prompt.js";
|
|
@@ -1132,6 +1133,20 @@ export class Daemon extends EventEmitter {
|
|
|
1132
1133
|
transcriptMonitor = null;
|
|
1133
1134
|
/** #1218: the transcript this instance's monitor follows now (the Log tab reads it on demand; nothing runs for it here). */
|
|
1134
1135
|
logTranscriptPath() { return this.transcriptMonitor?.currentPath() ?? null; }
|
|
1136
|
+
/** Optional read-only child lane: only a current owned tmux launch, never stopped/native/cwd discovery. */
|
|
1137
|
+
subagentSource() {
|
|
1138
|
+
const backend = this.config.backend ?? "claude-code", path = this.logTranscriptPath();
|
|
1139
|
+
if ((backend !== "claude-code" && backend !== "codex") || !path || !this.tmux || this.processStatus !== "running"
|
|
1140
|
+
|| this.spawning || this.runtimeMonitorsFrozen)
|
|
1141
|
+
return null;
|
|
1142
|
+
const cwd = this.config.working_directory || process.cwd();
|
|
1143
|
+
const match = /([a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12})\.jsonl$/i.exec(path);
|
|
1144
|
+
if (!match || (backend === "claude-code" && basename(path) !== match[1] + ".jsonl"))
|
|
1145
|
+
return null;
|
|
1146
|
+
return { backend, path, sessionId: match[1], cwd,
|
|
1147
|
+
root: backend === "claude-code" ? join(this.claudeConfigDir(), "projects", claudeProjectKey(cwd)) : join(codexMetadataHomes(this.instanceDir).sharedHome, "sessions"),
|
|
1148
|
+
owner: JSON.stringify(this.getInteractionSnapshot().owner) };
|
|
1149
|
+
}
|
|
1135
1150
|
/** #1218 (kiro): the launch this daemon's backend last built, for the Log's reason only (kiro-log-gate.ts). */
|
|
1136
1151
|
logLaunch() { return this.backend?.logLaunch?.() ?? null; }
|
|
1137
1152
|
async kiroMigrationIdle() {
|