panopticon-cli 0.4.21 → 0.4.23

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 (43) hide show
  1. package/dist/{agents-2Q6TCHNN.js → agents-ND4NKCK2.js} +5 -5
  2. package/dist/{chunk-KQAEUOML.js → chunk-46DPNFMW.js} +2 -2
  3. package/dist/{chunk-26QM7CPN.js → chunk-6CIBLKFZ.js} +4 -3
  4. package/dist/{chunk-26QM7CPN.js.map → chunk-6CIBLKFZ.js.map} +1 -1
  5. package/dist/{chunk-KGPRXDMX.js → chunk-6HXKTOD7.js} +5 -1
  6. package/dist/chunk-6HXKTOD7.js.map +1 -0
  7. package/dist/{chunk-QB3W4NX6.js → chunk-G4H6KZDC.js} +29 -22
  8. package/dist/{chunk-QB3W4NX6.js.map → chunk-G4H6KZDC.js.map} +1 -1
  9. package/dist/{chunk-SOL4WQJD.js → chunk-JY7R7V4G.js} +2 -2
  10. package/dist/{chunk-65DGYSS4.js → chunk-ON5NIBGW.js} +2 -2
  11. package/dist/{chunk-YOQLBJ7B.js → chunk-SIAUVHVO.js} +3 -3
  12. package/dist/{chunk-ZAM2Q52Q.js → chunk-VTMXR7JF.js} +2 -2
  13. package/dist/{chunk-XTXWSLT3.js → chunk-ZLB6G4NW.js} +4 -4
  14. package/dist/cli/index.js +20 -20
  15. package/dist/{config-WCEPLNXI.js → config-QWTS63TU.js} +3 -3
  16. package/dist/dashboard/server.js +170 -44
  17. package/dist/index.d.ts +3 -1
  18. package/dist/index.js +6 -4
  19. package/dist/index.js.map +1 -1
  20. package/dist/{projects-AMR3XQM4.js → projects-VXRUCMLM.js} +3 -3
  21. package/dist/{remote-workspace-V57IZJRC.js → remote-workspace-FNXLMNBG.js} +4 -4
  22. package/dist/{specialist-context-2G6YOU3M.js → specialist-context-VWST6O2N.js} +13 -14
  23. package/dist/specialist-context-VWST6O2N.js.map +1 -0
  24. package/dist/{specialist-logs-5OTCVAVH.js → specialist-logs-OU3KESAI.js} +5 -5
  25. package/dist/{specialists-H5QEVLNN.js → specialists-QVAZGJPU.js} +5 -5
  26. package/dist/{traefik-DRNZMPGZ.js → traefik-7OLLXUD7.js} +4 -4
  27. package/package.json +1 -1
  28. package/skills/pan-oversee/SKILL.md +63 -11
  29. package/dist/chunk-KGPRXDMX.js.map +0 -1
  30. package/dist/specialist-context-2G6YOU3M.js.map +0 -1
  31. /package/dist/{agents-2Q6TCHNN.js.map → agents-ND4NKCK2.js.map} +0 -0
  32. /package/dist/{chunk-KQAEUOML.js.map → chunk-46DPNFMW.js.map} +0 -0
  33. /package/dist/{chunk-SOL4WQJD.js.map → chunk-JY7R7V4G.js.map} +0 -0
  34. /package/dist/{chunk-65DGYSS4.js.map → chunk-ON5NIBGW.js.map} +0 -0
  35. /package/dist/{chunk-YOQLBJ7B.js.map → chunk-SIAUVHVO.js.map} +0 -0
  36. /package/dist/{chunk-ZAM2Q52Q.js.map → chunk-VTMXR7JF.js.map} +0 -0
  37. /package/dist/{chunk-XTXWSLT3.js.map → chunk-ZLB6G4NW.js.map} +0 -0
  38. /package/dist/{config-WCEPLNXI.js.map → config-QWTS63TU.js.map} +0 -0
  39. /package/dist/{projects-AMR3XQM4.js.map → projects-VXRUCMLM.js.map} +0 -0
  40. /package/dist/{remote-workspace-V57IZJRC.js.map → remote-workspace-FNXLMNBG.js.map} +0 -0
  41. /package/dist/{specialist-logs-5OTCVAVH.js.map → specialist-logs-OU3KESAI.js.map} +0 -0
  42. /package/dist/{specialists-H5QEVLNN.js.map → specialists-QVAZGJPU.js.map} +0 -0
  43. /package/dist/{traefik-DRNZMPGZ.js.map → traefik-7OLLXUD7.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PANOPTICON_HOME,
3
3
  init_paths
4
- } from "./chunk-KGPRXDMX.js";
4
+ } from "./chunk-6HXKTOD7.js";
5
5
  import {
6
6
  __esm,
7
7
  __export,
@@ -257,4 +257,4 @@ export {
257
257
  projects_exports,
258
258
  init_projects
259
259
  };
260
- //# sourceMappingURL=chunk-SOL4WQJD.js.map
260
+ //# sourceMappingURL=chunk-JY7R7V4G.js.map
@@ -6,7 +6,7 @@ import {
6
6
  AGENTS_DIR,
7
7
  PANOPTICON_HOME,
8
8
  init_paths
9
- } from "./chunk-KGPRXDMX.js";
9
+ } from "./chunk-6HXKTOD7.js";
10
10
  import {
11
11
  __esm,
12
12
  init_esm_shims
@@ -1351,4 +1351,4 @@ export {
1351
1351
  getModelId,
1352
1352
  init_work_type_router
1353
1353
  };
1354
- //# sourceMappingURL=chunk-65DGYSS4.js.map
1354
+ //# sourceMappingURL=chunk-ON5NIBGW.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  loadConfig
3
- } from "./chunk-ZAM2Q52Q.js";
3
+ } from "./chunk-VTMXR7JF.js";
4
4
  import {
5
5
  SOURCE_TRAEFIK_TEMPLATES,
6
6
  TRAEFIK_DYNAMIC_DIR,
7
7
  init_paths
8
- } from "./chunk-KGPRXDMX.js";
8
+ } from "./chunk-6HXKTOD7.js";
9
9
  import {
10
10
  init_esm_shims
11
11
  } from "./chunk-ZHC57RCV.js";
@@ -46,4 +46,4 @@ export {
46
46
  generatePanopticonTraefikConfig,
47
47
  cleanupTemplateFiles
48
48
  };
49
- //# sourceMappingURL=chunk-YOQLBJ7B.js.map
49
+ //# sourceMappingURL=chunk-SIAUVHVO.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONFIG_FILE,
3
3
  init_paths
4
- } from "./chunk-KGPRXDMX.js";
4
+ } from "./chunk-6HXKTOD7.js";
5
5
  import {
6
6
  init_esm_shims
7
7
  } from "./chunk-ZHC57RCV.js";
@@ -94,4 +94,4 @@ export {
94
94
  getDefaultConfig,
95
95
  getDashboardApiUrl
96
96
  };
97
- //# sourceMappingURL=chunk-ZAM2Q52Q.js.map
97
+ //# sourceMappingURL=chunk-VTMXR7JF.js.map
@@ -12,19 +12,19 @@ import {
12
12
  killSession,
13
13
  sendKeys,
14
14
  sessionExists
15
- } from "./chunk-65DGYSS4.js";
15
+ } from "./chunk-ON5NIBGW.js";
16
16
  import {
17
17
  getProviderEnv,
18
18
  getProviderForModel,
19
19
  init_providers,
20
20
  init_settings,
21
21
  loadSettings
22
- } from "./chunk-KQAEUOML.js";
22
+ } from "./chunk-46DPNFMW.js";
23
23
  import {
24
24
  AGENTS_DIR,
25
25
  PANOPTICON_HOME,
26
26
  init_paths
27
- } from "./chunk-KGPRXDMX.js";
27
+ } from "./chunk-6HXKTOD7.js";
28
28
  import {
29
29
  __esm,
30
30
  init_esm_shims
@@ -913,4 +913,4 @@ export {
913
913
  autoRecoverAgents,
914
914
  init_agents
915
915
  };
916
- //# sourceMappingURL=chunk-XTXWSLT3.js.map
916
+ //# sourceMappingURL=chunk-ZLB6G4NW.js.map
package/dist/cli/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  cleanupTemplateFiles,
4
4
  generatePanopticonTraefikConfig
5
- } from "../chunk-YOQLBJ7B.js";
5
+ } from "../chunk-SIAUVHVO.js";
6
6
  import {
7
7
  checkSpecialistQueue,
8
8
  clearSessionId,
@@ -25,7 +25,7 @@ import {
25
25
  recordWake,
26
26
  wakeSpecialistOrQueue,
27
27
  wakeSpecialistWithTask
28
- } from "../chunk-QB3W4NX6.js";
28
+ } from "../chunk-G4H6KZDC.js";
29
29
  import {
30
30
  addAlias,
31
31
  cleanOldBackups,
@@ -40,7 +40,7 @@ import {
40
40
  planSync,
41
41
  restoreBackup,
42
42
  syncHooks
43
- } from "../chunk-26QM7CPN.js";
43
+ } from "../chunk-6CIBLKFZ.js";
44
44
  import {
45
45
  init_remote_agents,
46
46
  isRemoteAgentRunning,
@@ -68,7 +68,7 @@ import {
68
68
  saveSessionId,
69
69
  spawnAgent,
70
70
  stopAgent
71
- } from "../chunk-XTXWSLT3.js";
71
+ } from "../chunk-ZLB6G4NW.js";
72
72
  import {
73
73
  checkHook,
74
74
  clearHook,
@@ -84,11 +84,11 @@ import {
84
84
  sendKeys,
85
85
  sendMail,
86
86
  sessionExists
87
- } from "../chunk-65DGYSS4.js";
87
+ } from "../chunk-ON5NIBGW.js";
88
88
  import {
89
89
  init_settings,
90
90
  loadSettings
91
- } from "../chunk-KQAEUOML.js";
91
+ } from "../chunk-46DPNFMW.js";
92
92
  import {
93
93
  init_config_yaml,
94
94
  loadConfig as loadConfig2
@@ -105,7 +105,7 @@ import {
105
105
  getDefaultConfig,
106
106
  loadConfig,
107
107
  saveConfig
108
- } from "../chunk-ZAM2Q52Q.js";
108
+ } from "../chunk-VTMXR7JF.js";
109
109
  import {
110
110
  PROJECTS_CONFIG_FILE,
111
111
  extractTeamPrefix,
@@ -119,7 +119,7 @@ import {
119
119
  registerProject,
120
120
  resolveProjectFromIssue,
121
121
  unregisterProject
122
- } from "../chunk-SOL4WQJD.js";
122
+ } from "../chunk-JY7R7V4G.js";
123
123
  import {
124
124
  createExeProvider,
125
125
  init_exe_provider
@@ -141,7 +141,7 @@ import {
141
141
  TRAEFIK_DIR,
142
142
  init_paths,
143
143
  isDevMode
144
- } from "../chunk-KGPRXDMX.js";
144
+ } from "../chunk-6HXKTOD7.js";
145
145
  import {
146
146
  addDnsEntry,
147
147
  detectDnsSyncMethod,
@@ -1289,7 +1289,7 @@ async function handleRemoteWorkspace(issueId, options, spinner) {
1289
1289
  if (!remoteMetadata) {
1290
1290
  spinner.text = "Remote workspace not found, creating...";
1291
1291
  try {
1292
- const { createRemoteWorkspace: createRemoteWorkspace2 } = await import("../remote-workspace-V57IZJRC.js");
1292
+ const { createRemoteWorkspace: createRemoteWorkspace2 } = await import("../remote-workspace-FNXLMNBG.js");
1293
1293
  remoteMetadata = await createRemoteWorkspace2(issueId, { spinner });
1294
1294
  } catch (error) {
1295
1295
  spinner.fail(`Failed to create remote workspace: ${error.message}`);
@@ -2072,7 +2072,7 @@ async function doneCommand(id, options = {}) {
2072
2072
  console.log(chalk12.dim(` pan work approve ${issueId}`));
2073
2073
  console.log("");
2074
2074
  try {
2075
- const { getDashboardApiUrl: getDashboardApiUrl2 } = await import("../config-WCEPLNXI.js");
2075
+ const { getDashboardApiUrl: getDashboardApiUrl2 } = await import("../config-QWTS63TU.js");
2076
2076
  const dashboardUrl = getDashboardApiUrl2();
2077
2077
  const http = await import("http");
2078
2078
  const checkDashboard = () => new Promise((resolve2) => {
@@ -9700,7 +9700,7 @@ async function runPatrol() {
9700
9700
  if (nextTask) {
9701
9701
  console.log(`[deacon] Auto-resuming suspended ${specialist.name} for queued task: ${nextTask.payload.issueId}`);
9702
9702
  try {
9703
- const { resumeAgent } = await import("../agents-2Q6TCHNN.js");
9703
+ const { resumeAgent } = await import("../agents-ND4NKCK2.js");
9704
9704
  const message = `# Queued Work
9705
9705
 
9706
9706
  Processing queued task: ${nextTask.payload.issueId}`;
@@ -11522,7 +11522,7 @@ import { promisify as promisify12 } from "util";
11522
11522
  var execAsync12 = promisify12(exec12);
11523
11523
  async function listLogsCommand(project2, type, options) {
11524
11524
  try {
11525
- const { listRunLogs } = await import("../specialist-logs-5OTCVAVH.js");
11525
+ const { listRunLogs } = await import("../specialist-logs-OU3KESAI.js");
11526
11526
  const limit = options.limit ? parseInt(options.limit) : 10;
11527
11527
  const runs = listRunLogs(project2, type, { limit });
11528
11528
  if (options.json) {
@@ -11567,7 +11567,7 @@ View a specific run: pan specialists logs ${project2} ${type} <runId>
11567
11567
  }
11568
11568
  async function viewLogCommand(project2, type, runId, options) {
11569
11569
  try {
11570
- const { getRunLog, parseLogMetadata, getRunLogPath } = await import("../specialist-logs-5OTCVAVH.js");
11570
+ const { getRunLog, parseLogMetadata, getRunLogPath } = await import("../specialist-logs-OU3KESAI.js");
11571
11571
  const content = getRunLog(project2, type, runId);
11572
11572
  if (!content) {
11573
11573
  console.error(`\u274C Run log not found: ${runId}`);
@@ -11591,8 +11591,8 @@ async function viewLogCommand(project2, type, runId, options) {
11591
11591
  }
11592
11592
  async function tailLogCommand(project2, type) {
11593
11593
  try {
11594
- const { getRunLogPath } = await import("../specialist-logs-5OTCVAVH.js");
11595
- const { getProjectSpecialistMetadata } = await import("../specialists-H5QEVLNN.js");
11594
+ const { getRunLogPath } = await import("../specialist-logs-OU3KESAI.js");
11595
+ const { getProjectSpecialistMetadata } = await import("../specialists-QVAZGJPU.js");
11596
11596
  const metadata = getProjectSpecialistMetadata(project2, type);
11597
11597
  if (!metadata.currentRun) {
11598
11598
  console.error(`\u274C No active run for ${project2}/${type}`);
@@ -11661,7 +11661,7 @@ async function cleanupLogsCommand(projectOrAll, type, options) {
11661
11661
  console.log(" Use --force to confirm.");
11662
11662
  process.exit(1);
11663
11663
  }
11664
- const { cleanupAllLogs } = await import("../specialist-logs-5OTCVAVH.js");
11664
+ const { cleanupAllLogs } = await import("../specialist-logs-OU3KESAI.js");
11665
11665
  console.log("\u{1F9F9} Cleaning up old logs for all projects...\n");
11666
11666
  const results = cleanupAllLogs();
11667
11667
  console.log(`
@@ -11688,8 +11688,8 @@ async function cleanupLogsCommand(projectOrAll, type, options) {
11688
11688
  console.log(" Use --force to confirm.");
11689
11689
  process.exit(1);
11690
11690
  }
11691
- const { cleanupOldLogs } = await import("../specialist-logs-5OTCVAVH.js");
11692
- const { getSpecialistRetention } = await import("../projects-AMR3XQM4.js");
11691
+ const { cleanupOldLogs } = await import("../specialist-logs-OU3KESAI.js");
11692
+ const { getSpecialistRetention } = await import("../projects-VXRUCMLM.js");
11693
11693
  const retention = getSpecialistRetention(projectOrAll);
11694
11694
  console.log(`\u{1F9F9} Cleaning up old logs for ${projectOrAll}/${type}...`);
11695
11695
  console.log(` Retention: ${retention.max_days} days or ${retention.max_runs} runs
@@ -14500,7 +14500,7 @@ program.command("up").description("Start dashboard (and Traefik if enabled)").op
14500
14500
  console.log(chalk56.bold("Starting Panopticon...\n"));
14501
14501
  if (traefikEnabled && !options.skipTraefik) {
14502
14502
  try {
14503
- const { generatePanopticonTraefikConfig: generatePanopticonTraefikConfig2 } = await import("../traefik-DRNZMPGZ.js");
14503
+ const { generatePanopticonTraefikConfig: generatePanopticonTraefikConfig2 } = await import("../traefik-7OLLXUD7.js");
14504
14504
  if (generatePanopticonTraefikConfig2()) {
14505
14505
  console.log(chalk56.dim(" Regenerated Traefik config from template"));
14506
14506
  }
@@ -3,8 +3,8 @@ import {
3
3
  getDefaultConfig,
4
4
  loadConfig,
5
5
  saveConfig
6
- } from "./chunk-ZAM2Q52Q.js";
7
- import "./chunk-KGPRXDMX.js";
6
+ } from "./chunk-VTMXR7JF.js";
7
+ import "./chunk-6HXKTOD7.js";
8
8
  import "./chunk-ZHC57RCV.js";
9
9
  export {
10
10
  getDashboardApiUrl,
@@ -12,4 +12,4 @@ export {
12
12
  loadConfig,
13
13
  saveConfig
14
14
  };
15
- //# sourceMappingURL=config-WCEPLNXI.js.map
15
+ //# sourceMappingURL=config-QWTS63TU.js.map