chatroom-cli 1.0.55 → 1.0.65

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 (108) hide show
  1. package/README.md +35 -27
  2. package/dist/index.js +12753 -352
  3. package/package.json +11 -10
  4. package/dist/api.d.ts +0 -11
  5. package/dist/api.d.ts.map +0 -1
  6. package/dist/api.js +0 -12
  7. package/dist/api.js.map +0 -1
  8. package/dist/commands/auth-login.d.ts +0 -10
  9. package/dist/commands/auth-login.d.ts.map +0 -1
  10. package/dist/commands/auth-login.js +0 -179
  11. package/dist/commands/auth-login.js.map +0 -1
  12. package/dist/commands/auth-logout.d.ts +0 -6
  13. package/dist/commands/auth-logout.d.ts.map +0 -1
  14. package/dist/commands/auth-logout.js +0 -21
  15. package/dist/commands/auth-logout.js.map +0 -1
  16. package/dist/commands/auth-status.d.ts +0 -6
  17. package/dist/commands/auth-status.d.ts.map +0 -1
  18. package/dist/commands/auth-status.js +0 -50
  19. package/dist/commands/auth-status.js.map +0 -1
  20. package/dist/commands/backlog.d.ts +0 -47
  21. package/dist/commands/backlog.d.ts.map +0 -1
  22. package/dist/commands/backlog.js +0 -390
  23. package/dist/commands/backlog.js.map +0 -1
  24. package/dist/commands/feature.d.ts +0 -14
  25. package/dist/commands/feature.d.ts.map +0 -1
  26. package/dist/commands/feature.js +0 -172
  27. package/dist/commands/feature.js.map +0 -1
  28. package/dist/commands/guidelines.d.ts +0 -17
  29. package/dist/commands/guidelines.d.ts.map +0 -1
  30. package/dist/commands/guidelines.js +0 -71
  31. package/dist/commands/guidelines.js.map +0 -1
  32. package/dist/commands/handoff.d.ts +0 -20
  33. package/dist/commands/handoff.d.ts.map +0 -1
  34. package/dist/commands/handoff.js +0 -83
  35. package/dist/commands/handoff.js.map +0 -1
  36. package/dist/commands/init.d.ts +0 -9
  37. package/dist/commands/init.d.ts.map +0 -1
  38. package/dist/commands/init.js +0 -23
  39. package/dist/commands/init.js.map +0 -1
  40. package/dist/commands/messages.d.ts +0 -24
  41. package/dist/commands/messages.d.ts.map +0 -1
  42. package/dist/commands/messages.js +0 -149
  43. package/dist/commands/messages.js.map +0 -1
  44. package/dist/commands/opencode-install.d.ts +0 -29
  45. package/dist/commands/opencode-install.d.ts.map +0 -1
  46. package/dist/commands/opencode-install.js +0 -416
  47. package/dist/commands/opencode-install.js.map +0 -1
  48. package/dist/commands/task-started.d.ts +0 -13
  49. package/dist/commands/task-started.d.ts.map +0 -1
  50. package/dist/commands/task-started.js +0 -107
  51. package/dist/commands/task-started.js.map +0 -1
  52. package/dist/commands/update.d.ts +0 -6
  53. package/dist/commands/update.d.ts.map +0 -1
  54. package/dist/commands/update.js +0 -78
  55. package/dist/commands/update.js.map +0 -1
  56. package/dist/commands/wait-for-task.d.ts +0 -18
  57. package/dist/commands/wait-for-task.d.ts.map +0 -1
  58. package/dist/commands/wait-for-task.js +0 -306
  59. package/dist/commands/wait-for-task.js.map +0 -1
  60. package/dist/config/defaults.d.ts +0 -12
  61. package/dist/config/defaults.d.ts.map +0 -1
  62. package/dist/config/defaults.js +0 -70
  63. package/dist/config/defaults.js.map +0 -1
  64. package/dist/config/loader.d.ts +0 -52
  65. package/dist/config/loader.d.ts.map +0 -1
  66. package/dist/config/loader.js +0 -202
  67. package/dist/config/loader.js.map +0 -1
  68. package/dist/config/schema.d.ts +0 -52
  69. package/dist/config/schema.d.ts.map +0 -1
  70. package/dist/config/schema.js +0 -99
  71. package/dist/config/schema.js.map +0 -1
  72. package/dist/config.d.ts +0 -20
  73. package/dist/config.d.ts.map +0 -1
  74. package/dist/config.js +0 -20
  75. package/dist/config.js.map +0 -1
  76. package/dist/convex-api/api.d.ts +0 -137
  77. package/dist/convex-api/api.js +0 -23
  78. package/dist/convex-api/index.d.ts +0 -102
  79. package/dist/convex-api/index.d.ts.map +0 -1
  80. package/dist/convex-api/index.js +0 -11
  81. package/dist/convex-api/index.js.map +0 -1
  82. package/dist/index.d.ts +0 -9
  83. package/dist/index.d.ts.map +0 -1
  84. package/dist/index.js.map +0 -1
  85. package/dist/infrastructure/auth/middleware.d.ts +0 -20
  86. package/dist/infrastructure/auth/middleware.d.ts.map +0 -1
  87. package/dist/infrastructure/auth/middleware.js +0 -96
  88. package/dist/infrastructure/auth/middleware.js.map +0 -1
  89. package/dist/infrastructure/auth/storage.d.ts +0 -58
  90. package/dist/infrastructure/auth/storage.d.ts.map +0 -1
  91. package/dist/infrastructure/auth/storage.js +0 -242
  92. package/dist/infrastructure/auth/storage.js.map +0 -1
  93. package/dist/infrastructure/convex/client.d.ts +0 -16
  94. package/dist/infrastructure/convex/client.d.ts.map +0 -1
  95. package/dist/infrastructure/convex/client.js +0 -40
  96. package/dist/infrastructure/convex/client.js.map +0 -1
  97. package/dist/infrastructure/history/storage.d.ts +0 -21
  98. package/dist/infrastructure/history/storage.d.ts.map +0 -1
  99. package/dist/infrastructure/history/storage.js +0 -56
  100. package/dist/infrastructure/history/storage.js.map +0 -1
  101. package/dist/utils/file-content.d.ts +0 -29
  102. package/dist/utils/file-content.d.ts.map +0 -1
  103. package/dist/utils/file-content.js +0 -51
  104. package/dist/utils/file-content.js.map +0 -1
  105. package/dist/version.d.ts +0 -14
  106. package/dist/version.d.ts.map +0 -1
  107. package/dist/version.js +0 -43
  108. package/dist/version.js.map +0 -1
@@ -1,202 +0,0 @@
1
- import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
2
- import { homedir } from 'node:os';
3
- import { join, dirname, resolve } from 'node:path';
4
- import { DEFAULT_CONFIG, DEFAULT_CONFIG_JSONC } from './defaults';
5
- import { getConfigErrors } from './schema';
6
- const CONFIG_DIR = '.chatroom';
7
- const CONFIG_FILENAME = 'chatroom.jsonc';
8
- /**
9
- * Get the global config path in user's home directory
10
- */
11
- export function getGlobalConfigPath() {
12
- return join(homedir(), CONFIG_DIR, CONFIG_FILENAME);
13
- }
14
- /**
15
- * Get the global config directory in user's home directory
16
- */
17
- export function getGlobalConfigDir() {
18
- return join(homedir(), CONFIG_DIR);
19
- }
20
- /**
21
- * Get the full path to the config file in a directory
22
- */
23
- function getConfigPath(dir) {
24
- return join(dir, CONFIG_DIR, CONFIG_FILENAME);
25
- }
26
- /**
27
- * Strip comments from JSONC content
28
- * Handles strings correctly to avoid removing // inside URLs
29
- */
30
- function stripJsoncComments(content) {
31
- let result = '';
32
- let i = 0;
33
- let inString = false;
34
- let escape = false;
35
- while (i < content.length) {
36
- const char = content[i];
37
- const next = content[i + 1];
38
- if (escape) {
39
- result += char;
40
- escape = false;
41
- i++;
42
- continue;
43
- }
44
- if (char === '\\') {
45
- result += char;
46
- escape = true;
47
- i++;
48
- continue;
49
- }
50
- if (char === '"') {
51
- inString = !inString;
52
- result += char;
53
- i++;
54
- continue;
55
- }
56
- if (inString) {
57
- result += char;
58
- i++;
59
- continue;
60
- }
61
- // Single-line comment
62
- if (char === '/' && next === '/') {
63
- // Skip to end of line
64
- while (i < content.length && content[i] !== '\n') {
65
- i++;
66
- }
67
- continue;
68
- }
69
- // Multi-line comment
70
- if (char === '/' && next === '*') {
71
- i += 2; // Skip /*
72
- while (i < content.length - 1 && !(content[i] === '*' && content[i + 1] === '/')) {
73
- i++;
74
- }
75
- i += 2; // Skip */
76
- continue;
77
- }
78
- result += char;
79
- i++;
80
- }
81
- return result;
82
- }
83
- /**
84
- * Find the config file by walking up the directory tree to home directory
85
- * Then falls back to the global config in ~/.chatroom/chatroom.jsonc
86
- */
87
- export function findConfigPath(startDir = process.cwd()) {
88
- const homeDir = homedir();
89
- let currentDir = startDir;
90
- // Walk up from startDir to home directory
91
- while (true) {
92
- const configPath = getConfigPath(currentDir);
93
- if (existsSync(configPath)) {
94
- return configPath;
95
- }
96
- // Stop when we've checked the home directory
97
- if (currentDir === homeDir) {
98
- break;
99
- }
100
- const parentDir = dirname(currentDir);
101
- if (parentDir === currentDir) {
102
- // Reached filesystem root without hitting home
103
- break;
104
- }
105
- currentDir = parentDir;
106
- }
107
- // Finally check global config path
108
- const globalPath = getGlobalConfigPath();
109
- if (existsSync(globalPath)) {
110
- return globalPath;
111
- }
112
- return null;
113
- }
114
- /**
115
- * Create a global config file with default configuration
116
- */
117
- export function createGlobalConfig() {
118
- const globalDir = getGlobalConfigDir();
119
- // Create .chatroom directory if it doesn't exist
120
- if (!existsSync(globalDir)) {
121
- mkdirSync(globalDir, { recursive: true });
122
- }
123
- const configPath = getGlobalConfigPath();
124
- writeFileSync(configPath, DEFAULT_CONFIG_JSONC, 'utf-8');
125
- return configPath;
126
- }
127
- /**
128
- * Load and parse the configuration file
129
- * Returns null if file doesn't exist, throws on parse/validation errors
130
- */
131
- export function loadConfigFromPath(configPath) {
132
- const content = readFileSync(configPath, 'utf-8');
133
- // Strip comments and parse JSON
134
- const jsonContent = stripJsoncComments(content);
135
- let parsed;
136
- try {
137
- parsed = JSON.parse(jsonContent);
138
- }
139
- catch (error) {
140
- const err = error;
141
- throw new Error(`Failed to parse ${configPath}: ${err.message}`);
142
- }
143
- // Validate the configuration
144
- const errors = getConfigErrors(parsed);
145
- if (errors.length > 0) {
146
- throw new Error(`Invalid configuration in ${configPath}:\n - ${errors.join('\n - ')}`);
147
- }
148
- return parsed;
149
- }
150
- /**
151
- * Load configuration from the nearest .chatroom/chatroom.jsonc or return defaults
152
- */
153
- export function loadConfig(startDir = process.cwd()) {
154
- const configPath = findConfigPath(startDir);
155
- if (!configPath) {
156
- return { config: DEFAULT_CONFIG, configPath: null };
157
- }
158
- const config = loadConfigFromPath(configPath);
159
- return { config, configPath };
160
- }
161
- /**
162
- * Get a specific team from the configuration
163
- */
164
- export function getTeam(config, teamId) {
165
- return config.teams[teamId] ?? null;
166
- }
167
- /**
168
- * Get the default team from the configuration
169
- */
170
- export function getDefaultTeam(config) {
171
- const team = config.teams[config.defaultTeam];
172
- if (!team) {
173
- throw new Error(`Default team '${config.defaultTeam}' not found in configuration`);
174
- }
175
- return team;
176
- }
177
- /**
178
- * List all available team IDs
179
- */
180
- export function getTeamIds(config) {
181
- return Object.keys(config.teams);
182
- }
183
- /**
184
- * Load a prompt override file from a path (relative to config file or absolute)
185
- * Returns null if the file doesn't exist
186
- */
187
- export function loadPromptOverride(promptPath, configPath) {
188
- // Resolve the path relative to the config file directory (or cwd)
189
- const baseDir = configPath ? dirname(configPath) : process.cwd();
190
- const resolvedPath = resolve(baseDir, promptPath);
191
- if (!existsSync(resolvedPath)) {
192
- return null;
193
- }
194
- return readFileSync(resolvedPath, 'utf-8');
195
- }
196
- /**
197
- * Check if system reminders are enabled in the configuration
198
- */
199
- export function areSystemRemindersEnabled(config) {
200
- return config.prompts?.systemReminders?.enabled !== false;
201
- }
202
- //# sourceMappingURL=loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loader.js","sourceRoot":"","sources":["../../src/config/loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAElE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,UAAU,GAAG,WAAW,CAAC;AAC/B,MAAM,eAAe,GAAG,gBAAgB,CAAC;AAEzC;;GAEG;AACH,MAAM,UAAU,mBAAmB;IACjC,OAAO,IAAI,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,eAAe,CAAC,CAAC;AACtD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,IAAI,CAAC,OAAO,EAAE,EAAE,UAAU,CAAC,CAAC;AACrC,CAAC;AAED;;GAEG;AACH,SAAS,aAAa,CAAC,GAAW;IAChC,OAAO,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,eAAe,CAAC,CAAC;AAChD,CAAC;AA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AyB,CAAC,MAAsB;IAC9D,OAAO,MAAM,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,KAAK,KAAK,CAAC;AAC5D,CAAC"}
@@ -1,52 +0,0 @@
1
- /**
2
- * Configuration Schema
3
- *
4
- * Defines the structure of .chatroom/chatroom.jsonc configuration files.
5
- */
6
- /**
7
- * Definition of an agent team
8
- */
9
- export interface TeamDefinition {
10
- /** Display name for the team */
11
- name: string;
12
- /** Human-readable description of the team's purpose */
13
- description: string;
14
- /** List of role IDs that make up this team (order defines workflow priority) */
15
- roles: string[];
16
- /** Role that receives all user messages (defaults to first role in roles array) */
17
- entryPoint?: string;
18
- }
19
- /**
20
- * Configuration for prompt overrides
21
- */
22
- export interface PromptsConfig {
23
- /** Path to custom init prompt file (replaces entire init prompt) */
24
- initPrompt?: string;
25
- /** System reminder configuration */
26
- systemReminders?: {
27
- /** Whether system reminders are enabled (default: true) */
28
- enabled?: boolean;
29
- /** Path to custom wait reminder file */
30
- waitReminder?: string;
31
- };
32
- }
33
- /**
34
- * Root configuration structure for .chatroom/chatroom.jsonc
35
- */
36
- export interface ChatroomConfig {
37
- /** ID of the team to use when --team is not specified */
38
- defaultTeam: string;
39
- /** Map of team ID to team definition */
40
- teams: Record<string, TeamDefinition>;
41
- /** Optional prompt customization */
42
- prompts?: PromptsConfig;
43
- }
44
- /**
45
- * Validate that a configuration object is valid
46
- */
47
- export declare function validateConfig(config: unknown): config is ChatroomConfig;
48
- /**
49
- * Get validation errors for a configuration (for better error messages)
50
- */
51
- export declare function getConfigErrors(config: unknown): string[];
52
- //# sourceMappingURL=schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/config/schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,uDAAuD;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,gFAAgF;IAChF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,eAAe,CAAC,EAAE;QAChB,2DAA2D;QAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,wCAAwC;QACxC,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,WAAW,EAAE,MAAM,CAAC;IACpB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IACtC,oCAAoC;IACpC,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,cAAc,CAkDxE;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,EAAE,CA4DzD"}
@@ -1,99 +0,0 @@
1
- /**
2
- * Configuration Schema
3
- *
4
- * Defines the structure of .chatroom/chatroom.jsonc configuration files.
5
- */
6
- /**
7
- * Validate that a configuration object is valid
8
- */
9
- export function validateConfig(config) {
10
- if (!config || typeof config !== 'object') {
11
- return false;
12
- }
13
- const c = config;
14
- // Check defaultTeam
15
- if (typeof c.defaultTeam !== 'string' || c.defaultTeam.length === 0) {
16
- return false;
17
- }
18
- // Check teams
19
- if (!c.teams || typeof c.teams !== 'object') {
20
- return false;
21
- }
22
- const teams = c.teams;
23
- // Validate each team
24
- for (const [, team] of Object.entries(teams)) {
25
- if (!team || typeof team !== 'object') {
26
- return false;
27
- }
28
- const t = team;
29
- if (typeof t.name !== 'string' || t.name.length === 0) {
30
- return false;
31
- }
32
- if (typeof t.description !== 'string') {
33
- return false;
34
- }
35
- if (!Array.isArray(t.roles) || t.roles.length === 0) {
36
- return false;
37
- }
38
- if (!t.roles.every((r) => typeof r === 'string' && r.length > 0)) {
39
- return false;
40
- }
41
- }
42
- // Check that defaultTeam exists in teams
43
- if (!(c.defaultTeam in teams)) {
44
- return false;
45
- }
46
- return true;
47
- }
48
- /**
49
- * Get validation errors for a configuration (for better error messages)
50
- */
51
- export function getConfigErrors(config) {
52
- const errors = [];
53
- if (!config || typeof config !== 'object') {
54
- errors.push('Configuration must be an object');
55
- return errors;
56
- }
57
- const c = config;
58
- if (typeof c.defaultTeam !== 'string' || c.defaultTeam.length === 0) {
59
- errors.push("'defaultTeam' must be a non-empty string");
60
- }
61
- if (!c.teams || typeof c.teams !== 'object') {
62
- errors.push("'teams' must be an object");
63
- return errors;
64
- }
65
- const teams = c.teams;
66
- if (Object.keys(teams).length === 0) {
67
- errors.push("'teams' must contain at least one team");
68
- }
69
- for (const [teamId, team] of Object.entries(teams)) {
70
- if (!team || typeof team !== 'object') {
71
- errors.push(`Team '${teamId}' must be an object`);
72
- continue;
73
- }
74
- const t = team;
75
- if (typeof t.name !== 'string' || t.name.length === 0) {
76
- errors.push(`Team '${teamId}' must have a non-empty 'name'`);
77
- }
78
- if (typeof t.description !== 'string') {
79
- errors.push(`Team '${teamId}' must have a 'description'`);
80
- }
81
- if (!Array.isArray(t.roles)) {
82
- errors.push(`Team '${teamId}' must have a 'roles' array`);
83
- }
84
- else if (t.roles.length === 0) {
85
- errors.push(`Team '${teamId}' must have at least one role`);
86
- }
87
- else if (!t.roles.every((r) => typeof r === 'string' && r.length > 0)) {
88
- errors.push(`Team '${teamId}' roles must all be non-empty strings`);
89
- }
90
- }
91
- if (typeof c.defaultTeam === 'string' &&
92
- c.teams &&
93
- typeof c.teams === 'object' &&
94
- !(c.defaultTeam in c.teams)) {
95
- errors.push(`'defaultTeam' value '${c.defaultTeam}' does not exist in 'teams'`);
96
- }
97
- return errors;
98
- }
99
- //# sourceMappingURL=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AAC,CAAC,KAAK;QACP,OAAO,CAAC,CAAC,KAAK,KAAK,QAAQ;QAC3B,CAAC,CAAC,CAAC,CAAC,WAAW,IAAK,CAAC,CAAC,KAAgB,CAAC,EACvC,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,WAAW,6BAA6B,CAAC,CAAC;IAClF,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/dist/config.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * Chatroom CLI Configuration
3
- *
4
- * Centralized configuration for CLI behavior, polling intervals, and timeouts.
5
- */
6
- /** Polling interval for the create command (monitoring chatroom) */
7
- export declare const CREATE_POLL_INTERVAL_MS = 1000;
8
- /** Polling interval for wait-for-task command */
9
- export declare const WAIT_POLL_INTERVAL_MS = 500;
10
- /** Default timeout for wait-for-task (10 minutes) */
11
- export declare const DEFAULT_WAIT_TIMEOUT_MS: number;
12
- /** Default active work timeout (1 hour) - how long an active agent has before being considered crashed */
13
- export declare const DEFAULT_ACTIVE_TIMEOUT_MS: number;
14
- /** Maximum consecutive errors before logging a warning */
15
- export declare const MAX_SILENT_ERRORS = 5;
16
- /** Maximum messages to fetch for context lookup */
17
- export declare const MAX_MESSAGES_FOR_CONTEXT = 100;
18
- /** Web server port for dashboard UI */
19
- export declare const WEB_SERVER_PORT: number;
20
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oEAAoE;AACpE,eAAO,MAAM,uBAAuB,OAAO,CAAC;AAE5C,iDAAiD;AACjD,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,qDAAqD;AACrD,eAAO,MAAM,uBAAuB,QAAiB,CAAC;AAEtD,0GAA0G;AAC1G,eAAO,MAAM,yBAAyB,QAAiB,CAAC;AAExD,0DAA0D;AAC1D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AAEnC,mDAAmD;AACnD,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAE5C,uCAAuC;AACvC,eAAO,MAAM,eAAe,QAA+C,CAAC"}
package/dist/config.js DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * Chatroom CLI Configuration
3
- *
4
- * Centralized configuration for CLI behavior, polling intervals, and timeouts.
5
- */
6
- /** Polling interval for the create command (monitoring chatroom) */
7
- export const CREATE_POLL_INTERVAL_MS = 1000;
8
- /** Polling interval for wait-for-task command */
9
- export const WAIT_POLL_INTERVAL_MS = 500;
10
- /** Default timeout for wait-for-task (10 minutes) */
11
- export const DEFAULT_WAIT_TIMEOUT_MS = 10 * 60 * 1000;
12
- /** Default active work timeout (1 hour) - how long an active agent has before being considered crashed */
13
- export const DEFAULT_ACTIVE_TIMEOUT_MS = 60 * 60 * 1000;
14
- /** Maximum consecutive errors before logging a warning */
15
- export const MAX_SILENT_ERRORS = 5;
16
- /** Maximum messages to fetch for context lookup */
17
- export const MAX_MESSAGES_FOR_CONTEXT = 100;
18
- /** Web server port for dashboard UI */
19
- export const WEB_SERVER_PORT = parseInt(process.env.WEB_PORT || '3456', 10);
20
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oEAAoE;AACpE,MAAM,CAAC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAE5C,iDAAiD;AACjD,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAEzC,qDAAqD;AACrD,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAEtD,0GAA0G;AAC1G,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAExD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAEnC,mDAAmD;AACnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAE5C,uCAAuC;AACvC,MAAM,CAAC,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,MAAM,EAAE,EAAE,CAAC,CAAC"}
@@ -1,137 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * Generated `api` utility.
4
- *
5
- * THIS CODE IS AUTOMATICALLY GENERATED.
6
- *
7
- * To regenerate, run `npx convex dev`.
8
- * @module
9
- */
10
-
11
- import type * as appinfo from "../appinfo.js";
12
- import type * as attendance from "../attendance.js";
13
- import type * as auth from "../auth.js";
14
- import type * as auth_google from "../auth/google.js";
15
- import type * as chatrooms from "../chatrooms.js";
16
- import type * as checklists from "../checklists.js";
17
- import type * as cleanupTasks from "../cleanupTasks.js";
18
- import type * as cliAuth from "../cliAuth.js";
19
- import type * as crypto from "../crypto.js";
20
- import type * as discussions from "../discussions.js";
21
- import type * as guidelines from "../guidelines.js";
22
- import type * as lib_cliSessionAuth from "../lib/cliSessionAuth.js";
23
- import type * as lib_hierarchy from "../lib/hierarchy.js";
24
- import type * as lib_taskWorkflows from "../lib/taskWorkflows.js";
25
- import type * as messages from "../messages.js";
26
- import type * as migration from "../migration.js";
27
- import type * as participants from "../participants.js";
28
- import type * as presentations from "../presentations.js";
29
- import type * as prompts_generator from "../prompts/generator.js";
30
- import type * as prompts_guidelines_index from "../prompts/guidelines/index.js";
31
- import type * as prompts_guidelines_review from "../prompts/guidelines/review.js";
32
- import type * as prompts_index from "../prompts/index.js";
33
- import type * as prompts_init_base from "../prompts/init/base.js";
34
- import type * as prompts_init_index from "../prompts/init/index.js";
35
- import type * as prompts_init_roles from "../prompts/init/roles.js";
36
- import type * as prompts_init_taskStarted from "../prompts/init/taskStarted.js";
37
- import type * as prompts_init_waitForTask from "../prompts/init/waitForTask.js";
38
- import type * as prompts_policies_design from "../prompts/policies/design.js";
39
- import type * as prompts_policies_index from "../prompts/policies/index.js";
40
- import type * as prompts_policies_performance from "../prompts/policies/performance.js";
41
- import type * as prompts_policies_security from "../prompts/policies/security.js";
42
- import type * as prompts_taskDelivery_formatters from "../prompts/taskDelivery/formatters.js";
43
- import type * as prompts_taskDelivery_index from "../prompts/taskDelivery/index.js";
44
- import type * as prompts_taskDelivery_sections_backlogCommands from "../prompts/taskDelivery/sections/backlogCommands.js";
45
- import type * as prompts_taskDelivery_sections_chatroomState from "../prompts/taskDelivery/sections/chatroomState.js";
46
- import type * as prompts_taskDelivery_sections_index from "../prompts/taskDelivery/sections/index.js";
47
- import type * as prompts_taskDelivery_sections_jsonOutput from "../prompts/taskDelivery/sections/jsonOutput.js";
48
- import type * as prompts_taskDelivery_sections_messageReceived from "../prompts/taskDelivery/sections/messageReceived.js";
49
- import type * as prompts_taskDelivery_sections_nextSteps from "../prompts/taskDelivery/sections/nextSteps.js";
50
- import type * as prompts_taskDelivery_sections_roleGuidance from "../prompts/taskDelivery/sections/roleGuidance.js";
51
- import type * as prompts_taskDelivery_types from "../prompts/taskDelivery/types.js";
52
- import type * as prompts_templates from "../prompts/templates.js";
53
- import type * as serviceDesk from "../serviceDesk.js";
54
- import type * as system_auth_google from "../system/auth/google.js";
55
- import type * as tasks from "../tasks.js";
56
-
57
- import type {
58
- ApiFromModules,
59
- FilterApi,
60
- FunctionReference,
61
- } from "convex/server";
62
-
63
- declare const fullApi: ApiFromModules<{
64
- appinfo: typeof appinfo;
65
- attendance: typeof attendance;
66
- auth: typeof auth;
67
- "auth/google": typeof auth_google;
68
- chatrooms: typeof chatrooms;
69
- checklists: typeof checklists;
70
- cleanupTasks: typeof cleanupTasks;
71
- cliAuth: typeof cliAuth;
72
- crypto: typeof crypto;
73
- discussions: typeof discussions;
74
- guidelines: typeof guidelines;
75
- "lib/cliSessionAuth": typeof lib_cliSessionAuth;
76
- "lib/hierarchy": typeof lib_hierarchy;
77
- "lib/taskWorkflows": typeof lib_taskWorkflows;
78
- messages: typeof messages;
79
- migration: typeof migration;
80
- participants: typeof participants;
81
- presentations: typeof presentations;
82
- "prompts/generator": typeof prompts_generator;
83
- "prompts/guidelines/index": typeof prompts_guidelines_index;
84
- "prompts/guidelines/review": typeof prompts_guidelines_review;
85
- "prompts/index": typeof prompts_index;
86
- "prompts/init/base": typeof prompts_init_base;
87
- "prompts/init/index": typeof prompts_init_index;
88
- "prompts/init/roles": typeof prompts_init_roles;
89
- "prompts/init/taskStarted": typeof prompts_init_taskStarted;
90
- "prompts/init/waitForTask": typeof prompts_init_waitForTask;
91
- "prompts/policies/design": typeof prompts_policies_design;
92
- "prompts/policies/index": typeof prompts_policies_index;
93
- "prompts/policies/performance": typeof prompts_policies_performance;
94
- "prompts/policies/security": typeof prompts_policies_security;
95
- "prompts/taskDelivery/formatters": typeof prompts_taskDelivery_formatters;
96
- "prompts/taskDelivery/index": typeof prompts_taskDelivery_index;
97
- "prompts/taskDelivery/sections/backlogCommands": typeof prompts_taskDelivery_sections_backlogCommands;
98
- "prompts/taskDelivery/sections/chatroomState": typeof prompts_taskDelivery_sections_chatroomState;
99
- "prompts/taskDelivery/sections/index": typeof prompts_taskDelivery_sections_index;
100
- "prompts/taskDelivery/sections/jsonOutput": typeof prompts_taskDelivery_sections_jsonOutput;
101
- "prompts/taskDelivery/sections/messageReceived": typeof prompts_taskDelivery_sections_messageReceived;
102
- "prompts/taskDelivery/sections/nextSteps": typeof prompts_taskDelivery_sections_nextSteps;
103
- "prompts/taskDelivery/sections/roleGuidance": typeof prompts_taskDelivery_sections_roleGuidance;
104
- "prompts/taskDelivery/types": typeof prompts_taskDelivery_types;
105
- "prompts/templates": typeof prompts_templates;
106
- serviceDesk: typeof serviceDesk;
107
- "system/auth/google": typeof system_auth_google;
108
- tasks: typeof tasks;
109
- }>;
110
-
111
- /**
112
- * A utility for referencing Convex functions in your app's public API.
113
- *
114
- * Usage:
115
- * ```js
116
- * const myFunctionReference = api.myModule.myFunction;
117
- * ```
118
- */
119
- export declare const api: FilterApi<
120
- typeof fullApi,
121
- FunctionReference<any, "public">
122
- >;
123
-
124
- /**
125
- * A utility for referencing Convex functions in your app's internal API.
126
- *
127
- * Usage:
128
- * ```js
129
- * const myFunctionReference = internal.myModule.myFunction;
130
- * ```
131
- */
132
- export declare const internal: FilterApi<
133
- typeof fullApi,
134
- FunctionReference<any, "internal">
135
- >;
136
-
137
- export declare const components: {};
@@ -1,23 +0,0 @@
1
- /* eslint-disable */
2
- /**
3
- * Generated `api` utility.
4
- *
5
- * THIS CODE IS AUTOMATICALLY GENERATED.
6
- *
7
- * To regenerate, run `npx convex dev`.
8
- * @module
9
- */
10
-
11
- import { anyApi, componentsGeneric } from "convex/server";
12
-
13
- /**
14
- * A utility for referencing Convex functions in your app's API.
15
- *
16
- * Usage:
17
- * ```js
18
- * const myFunctionReference = api.myModule.myFunction;
19
- * ```
20
- */
21
- export const api = anyApi;
22
- export const internal = anyApi;
23
- export const components = componentsGeneric();