@vibecompany/247-cli 0.2.3 → 0.2.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/agent/node_modules/@vibecompany/247-shared/dist/index.d.ts +2 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/index.d.ts.map +1 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/index.js +2 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/index.js.map +1 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/types/index.d.ts +191 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/types/index.d.ts.map +1 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/types/index.js +31 -0
- package/agent/node_modules/@vibecompany/247-shared/dist/types/index.js.map +1 -0
- package/agent/node_modules/@vibecompany/247-shared/package.json +29 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
export interface Machine {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
status: 'online' | 'offline';
|
|
5
|
+
lastSeen: Date | null;
|
|
6
|
+
config: MachineConfig | null;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
}
|
|
9
|
+
export interface MachineConfig {
|
|
10
|
+
projects: string[];
|
|
11
|
+
agentUrl?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface Session {
|
|
14
|
+
id: string;
|
|
15
|
+
machineId: string;
|
|
16
|
+
project: string | null;
|
|
17
|
+
status: SessionStatus;
|
|
18
|
+
tmuxSession: string | null;
|
|
19
|
+
startedAt: Date;
|
|
20
|
+
endedAt: Date | null;
|
|
21
|
+
}
|
|
22
|
+
export interface User {
|
|
23
|
+
id: string;
|
|
24
|
+
email: string;
|
|
25
|
+
name: string | null;
|
|
26
|
+
createdAt: Date;
|
|
27
|
+
}
|
|
28
|
+
export type WSMessageToAgent = {
|
|
29
|
+
type: 'input';
|
|
30
|
+
data: string;
|
|
31
|
+
} | {
|
|
32
|
+
type: 'resize';
|
|
33
|
+
cols: number;
|
|
34
|
+
rows: number;
|
|
35
|
+
} | {
|
|
36
|
+
type: 'start-claude';
|
|
37
|
+
} | {
|
|
38
|
+
type: 'ping';
|
|
39
|
+
} | {
|
|
40
|
+
type: 'request-history';
|
|
41
|
+
lines?: number;
|
|
42
|
+
};
|
|
43
|
+
export type WSMessageFromAgent = {
|
|
44
|
+
type: 'output';
|
|
45
|
+
data: string;
|
|
46
|
+
} | {
|
|
47
|
+
type: 'connected';
|
|
48
|
+
session: string;
|
|
49
|
+
} | {
|
|
50
|
+
type: 'disconnected';
|
|
51
|
+
} | {
|
|
52
|
+
type: 'pong';
|
|
53
|
+
} | {
|
|
54
|
+
type: 'history';
|
|
55
|
+
data: string;
|
|
56
|
+
lines: number;
|
|
57
|
+
};
|
|
58
|
+
export type SessionStatus = 'init' | 'working' | 'needs_attention' | 'idle';
|
|
59
|
+
export type AttentionReason = 'permission' | 'input' | 'plan_approval' | 'task_complete';
|
|
60
|
+
export type StatusSource = 'hook' | 'tmux';
|
|
61
|
+
export interface WSSessionInfo {
|
|
62
|
+
name: string;
|
|
63
|
+
project: string;
|
|
64
|
+
status: SessionStatus;
|
|
65
|
+
attentionReason?: AttentionReason;
|
|
66
|
+
statusSource: StatusSource;
|
|
67
|
+
lastEvent?: string;
|
|
68
|
+
lastStatusChange?: number;
|
|
69
|
+
createdAt: number;
|
|
70
|
+
lastActivity?: string;
|
|
71
|
+
archivedAt?: number;
|
|
72
|
+
environmentId?: string;
|
|
73
|
+
environment?: {
|
|
74
|
+
id: string;
|
|
75
|
+
name: string;
|
|
76
|
+
provider: EnvironmentProvider;
|
|
77
|
+
icon: EnvironmentIcon | null;
|
|
78
|
+
isDefault: boolean;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export type WSStatusMessageToAgent = {
|
|
82
|
+
type: 'status-subscribe';
|
|
83
|
+
} | {
|
|
84
|
+
type: 'status-unsubscribe';
|
|
85
|
+
};
|
|
86
|
+
export type WSStatusMessageFromAgent = {
|
|
87
|
+
type: 'sessions-list';
|
|
88
|
+
sessions: WSSessionInfo[];
|
|
89
|
+
} | {
|
|
90
|
+
type: 'status-update';
|
|
91
|
+
session: WSSessionInfo;
|
|
92
|
+
} | {
|
|
93
|
+
type: 'session-removed';
|
|
94
|
+
sessionName: string;
|
|
95
|
+
} | {
|
|
96
|
+
type: 'session-archived';
|
|
97
|
+
sessionName: string;
|
|
98
|
+
session: WSSessionInfo;
|
|
99
|
+
};
|
|
100
|
+
export interface RegisterMachineRequest {
|
|
101
|
+
id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
config?: MachineConfig;
|
|
104
|
+
}
|
|
105
|
+
export interface AgentInfo {
|
|
106
|
+
machine: {
|
|
107
|
+
id: string;
|
|
108
|
+
name: string;
|
|
109
|
+
};
|
|
110
|
+
status: 'online' | 'offline';
|
|
111
|
+
projects: string[];
|
|
112
|
+
}
|
|
113
|
+
export interface EditorConfig {
|
|
114
|
+
enabled: boolean;
|
|
115
|
+
portRange: {
|
|
116
|
+
start: number;
|
|
117
|
+
end: number;
|
|
118
|
+
};
|
|
119
|
+
idleTimeout: number;
|
|
120
|
+
}
|
|
121
|
+
export interface EditorStatus {
|
|
122
|
+
project: string;
|
|
123
|
+
running: boolean;
|
|
124
|
+
port?: number;
|
|
125
|
+
pid?: number;
|
|
126
|
+
startedAt?: number;
|
|
127
|
+
lastActivity?: number;
|
|
128
|
+
}
|
|
129
|
+
export type EnvironmentProvider = 'anthropic' | 'openrouter';
|
|
130
|
+
export declare const ENVIRONMENT_ICON_OPTIONS: readonly ["zap", "globe", "bot", "brain", "cpu", "server", "cloud", "rocket", "flask", "code", "bug", "wrench", "shield", "lock", "star", "sparkles", "flame", "moon", "sun", "leaf"];
|
|
131
|
+
export type EnvironmentIcon = typeof ENVIRONMENT_ICON_OPTIONS[number];
|
|
132
|
+
export declare const DEFAULT_PROVIDER_ICONS: Record<EnvironmentProvider, EnvironmentIcon>;
|
|
133
|
+
export interface Environment {
|
|
134
|
+
id: string;
|
|
135
|
+
name: string;
|
|
136
|
+
provider: EnvironmentProvider;
|
|
137
|
+
icon: EnvironmentIcon | null;
|
|
138
|
+
isDefault: boolean;
|
|
139
|
+
variables: Record<string, string>;
|
|
140
|
+
createdAt: number;
|
|
141
|
+
updatedAt: number;
|
|
142
|
+
}
|
|
143
|
+
export interface EnvironmentMetadata {
|
|
144
|
+
id: string;
|
|
145
|
+
name: string;
|
|
146
|
+
provider: EnvironmentProvider;
|
|
147
|
+
icon: EnvironmentIcon | null;
|
|
148
|
+
isDefault: boolean;
|
|
149
|
+
variableKeys: string[];
|
|
150
|
+
createdAt: number;
|
|
151
|
+
updatedAt: number;
|
|
152
|
+
}
|
|
153
|
+
export interface CreateEnvironmentRequest {
|
|
154
|
+
name: string;
|
|
155
|
+
provider: EnvironmentProvider;
|
|
156
|
+
icon?: EnvironmentIcon | null;
|
|
157
|
+
isDefault?: boolean;
|
|
158
|
+
variables: Record<string, string>;
|
|
159
|
+
}
|
|
160
|
+
export interface UpdateEnvironmentRequest {
|
|
161
|
+
name?: string;
|
|
162
|
+
provider?: EnvironmentProvider;
|
|
163
|
+
icon?: EnvironmentIcon | null;
|
|
164
|
+
isDefault?: boolean;
|
|
165
|
+
variables?: Record<string, string>;
|
|
166
|
+
}
|
|
167
|
+
export declare const ENVIRONMENT_PRESETS: Record<EnvironmentProvider, {
|
|
168
|
+
label: string;
|
|
169
|
+
defaultVariables: Record<string, string>;
|
|
170
|
+
description: string;
|
|
171
|
+
}>;
|
|
172
|
+
export interface AgentConfig {
|
|
173
|
+
machine: {
|
|
174
|
+
id: string;
|
|
175
|
+
name: string;
|
|
176
|
+
};
|
|
177
|
+
agent?: {
|
|
178
|
+
port: number;
|
|
179
|
+
url: string;
|
|
180
|
+
};
|
|
181
|
+
editor?: EditorConfig;
|
|
182
|
+
projects: {
|
|
183
|
+
basePath: string;
|
|
184
|
+
whitelist: string[];
|
|
185
|
+
};
|
|
186
|
+
dashboard: {
|
|
187
|
+
apiUrl: string;
|
|
188
|
+
apiKey: string;
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,aAAa,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAGD,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB;AAGD,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,IAAI,CAAC;CACj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|
|
4
|
+
'rocket', 'flask', 'code', 'bug', 'wrench', 'shield', 'lock',
|
|
5
|
+
'star', 'sparkles', 'flame', 'moon', 'sun', 'leaf'
|
|
6
|
+
];
|
|
7
|
+
// Default icons per provider (fallback when icon is null)
|
|
8
|
+
export const DEFAULT_PROVIDER_ICONS = {
|
|
9
|
+
anthropic: 'zap',
|
|
10
|
+
openrouter: 'globe',
|
|
11
|
+
};
|
|
12
|
+
// Provider presets for UI
|
|
13
|
+
export const ENVIRONMENT_PRESETS = {
|
|
14
|
+
anthropic: {
|
|
15
|
+
label: 'Anthropic',
|
|
16
|
+
defaultVariables: {
|
|
17
|
+
ANTHROPIC_API_KEY: '',
|
|
18
|
+
},
|
|
19
|
+
description: 'Direct Anthropic API access',
|
|
20
|
+
},
|
|
21
|
+
openrouter: {
|
|
22
|
+
label: 'OpenRouter',
|
|
23
|
+
defaultVariables: {
|
|
24
|
+
ANTHROPIC_BASE_URL: 'https://openrouter.ai/api',
|
|
25
|
+
ANTHROPIC_AUTH_TOKEN: '',
|
|
26
|
+
ANTHROPIC_API_KEY: '', // Must be explicitly empty
|
|
27
|
+
},
|
|
28
|
+
description: 'Use OpenRouter as Claude provider',
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAqIA,mCAAmC;AACnC,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO;IACxD,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM;IAC5D,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAC1C,CAAC;AAIX,0DAA0D;AAC1D,MAAM,CAAC,MAAM,sBAAsB,GAAiD;IAClF,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,OAAO;CACpB,CAAC;AA0CF,0BAA0B;AAC1B,MAAM,CAAC,MAAM,mBAAmB,GAI3B;IACH,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;QAClB,gBAAgB,EAAE;YAChB,iBAAiB,EAAE,EAAE;SACtB;QACD,WAAW,EAAE,6BAA6B;KAC3C;IACD,UAAU,EAAE;QACV,KAAK,EAAE,YAAY;QACnB,gBAAgB,EAAE;YAChB,kBAAkB,EAAE,2BAA2B;YAC/C,oBAAoB,EAAE,EAAE;YACxB,iBAAiB,EAAE,EAAE,EAAE,2BAA2B;SACnD;QACD,WAAW,EAAE,mCAAmC;KACjD;CACF,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vibecompany/247-shared",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./types": {
|
|
12
|
+
"types": "./dist/types/index.d.ts",
|
|
13
|
+
"import": "./dist/types/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"dev": "tsc --watch",
|
|
19
|
+
"typecheck": "tsc --noEmit",
|
|
20
|
+
"clean": "rm -rf dist",
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"test:watch": "vitest",
|
|
23
|
+
"test:coverage": "vitest run --coverage"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"typescript": "^5.7.2",
|
|
27
|
+
"vitest": "^4.0.16"
|
|
28
|
+
}
|
|
29
|
+
}
|