@dobby.ai/dobby 0.1.1 → 0.1.2
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/README.md +20 -7
- package/dist/src/agent/event-forwarder.js +185 -16
- package/dist/src/cli/commands/cron.js +39 -35
- package/dist/src/cli/program.js +0 -6
- package/dist/src/core/types.js +2 -0
- package/dist/src/cron/config.js +2 -2
- package/dist/src/cron/service.js +87 -23
- package/dist/src/cron/store.js +1 -1
- package/package.json +9 -3
- package/.env.example +0 -8
- package/AGENTS.md +0 -267
- package/ROADMAP.md +0 -34
- package/config/cron.example.json +0 -9
- package/config/gateway.example.json +0 -132
- package/dist/plugins/connector-discord/src/mapper.js +0 -75
- package/dist/src/cli/tests/config-command.test.js +0 -42
- package/dist/src/cli/tests/config-io.test.js +0 -64
- package/dist/src/cli/tests/config-mutators.test.js +0 -47
- package/dist/src/cli/tests/discord-mapper.test.js +0 -90
- package/dist/src/cli/tests/doctor.test.js +0 -252
- package/dist/src/cli/tests/init-catalog.test.js +0 -134
- package/dist/src/cli/tests/program-options.test.js +0 -78
- package/dist/src/cli/tests/routing-config.test.js +0 -254
- package/dist/src/core/tests/control-command.test.js +0 -17
- package/dist/src/core/tests/runtime-registry.test.js +0 -116
- package/dist/src/core/tests/typing-controller.test.js +0 -103
- package/docs/BOXLITE_SANDBOX_FEASIBILITY.md +0 -175
- package/docs/CRON_SCHEDULER_DESIGN.md +0 -374
- package/docs/DOCKER_SANDBOX_vs_BOXLITE.md +0 -77
- package/docs/EXTENSION_SYSTEM_ARCHITECTURE.md +0 -119
- package/docs/MVP.md +0 -135
- package/docs/RUNBOOK.md +0 -243
- package/docs/TEAMWORK_HANDOFF_DESIGN.md +0 -440
- package/plugins/connector-discord/dobby.manifest.json +0 -18
- package/plugins/connector-discord/index.js +0 -1
- package/plugins/connector-discord/package-lock.json +0 -360
- package/plugins/connector-discord/package.json +0 -38
- package/plugins/connector-discord/src/connector.ts +0 -345
- package/plugins/connector-discord/src/contribution.ts +0 -21
- package/plugins/connector-discord/src/mapper.ts +0 -101
- package/plugins/connector-discord/tsconfig.json +0 -19
- package/plugins/connector-feishu/dobby.manifest.json +0 -18
- package/plugins/connector-feishu/index.js +0 -1
- package/plugins/connector-feishu/package-lock.json +0 -618
- package/plugins/connector-feishu/package.json +0 -38
- package/plugins/connector-feishu/src/connector.ts +0 -343
- package/plugins/connector-feishu/src/contribution.ts +0 -26
- package/plugins/connector-feishu/src/mapper.ts +0 -401
- package/plugins/connector-feishu/tsconfig.json +0 -19
- package/plugins/plugin-sdk/index.d.ts +0 -261
- package/plugins/plugin-sdk/index.js +0 -1
- package/plugins/plugin-sdk/package-lock.json +0 -12
- package/plugins/plugin-sdk/package.json +0 -22
- package/plugins/provider-claude/dobby.manifest.json +0 -17
- package/plugins/provider-claude/index.js +0 -1
- package/plugins/provider-claude/package-lock.json +0 -3398
- package/plugins/provider-claude/package.json +0 -39
- package/plugins/provider-claude/src/contribution.ts +0 -1018
- package/plugins/provider-claude/tsconfig.json +0 -19
- package/plugins/provider-claude-cli/dobby.manifest.json +0 -17
- package/plugins/provider-claude-cli/index.js +0 -1
- package/plugins/provider-claude-cli/package-lock.json +0 -2898
- package/plugins/provider-claude-cli/package.json +0 -38
- package/plugins/provider-claude-cli/src/contribution.ts +0 -1673
- package/plugins/provider-claude-cli/tsconfig.json +0 -19
- package/plugins/provider-pi/dobby.manifest.json +0 -17
- package/plugins/provider-pi/index.js +0 -1
- package/plugins/provider-pi/package-lock.json +0 -3877
- package/plugins/provider-pi/package.json +0 -40
- package/plugins/provider-pi/src/contribution.ts +0 -606
- package/plugins/provider-pi/tsconfig.json +0 -19
- package/plugins/sandbox-core/boxlite.js +0 -1
- package/plugins/sandbox-core/dobby.manifest.json +0 -17
- package/plugins/sandbox-core/docker.js +0 -1
- package/plugins/sandbox-core/package-lock.json +0 -136
- package/plugins/sandbox-core/package.json +0 -39
- package/plugins/sandbox-core/src/boxlite-context.ts +0 -2
- package/plugins/sandbox-core/src/boxlite-contribution.ts +0 -53
- package/plugins/sandbox-core/src/boxlite-executor.ts +0 -911
- package/plugins/sandbox-core/src/docker-contribution.ts +0 -43
- package/plugins/sandbox-core/src/docker-executor.ts +0 -217
- package/plugins/sandbox-core/tsconfig.json +0 -19
- package/scripts/local-extensions.mjs +0 -168
- package/src/agent/event-forwarder.ts +0 -414
- package/src/cli/commands/config.ts +0 -328
- package/src/cli/commands/configure.ts +0 -92
- package/src/cli/commands/cron.ts +0 -410
- package/src/cli/commands/doctor.ts +0 -331
- package/src/cli/commands/extension.ts +0 -207
- package/src/cli/commands/init.ts +0 -211
- package/src/cli/commands/start.ts +0 -223
- package/src/cli/commands/topology.ts +0 -415
- package/src/cli/index.ts +0 -9
- package/src/cli/program.ts +0 -314
- package/src/cli/shared/config-io.ts +0 -245
- package/src/cli/shared/config-mutators.ts +0 -470
- package/src/cli/shared/config-schema.ts +0 -228
- package/src/cli/shared/config-types.ts +0 -129
- package/src/cli/shared/configure-sections.ts +0 -595
- package/src/cli/shared/discord-config.ts +0 -14
- package/src/cli/shared/init-catalog.ts +0 -249
- package/src/cli/shared/local-extension-specs.ts +0 -108
- package/src/cli/shared/runtime.ts +0 -33
- package/src/cli/shared/schema-prompts.ts +0 -443
- package/src/cli/tests/config-command.test.ts +0 -56
- package/src/cli/tests/config-io.test.ts +0 -92
- package/src/cli/tests/config-mutators.test.ts +0 -59
- package/src/cli/tests/discord-mapper.test.ts +0 -128
- package/src/cli/tests/doctor.test.ts +0 -269
- package/src/cli/tests/init-catalog.test.ts +0 -144
- package/src/cli/tests/program-options.test.ts +0 -95
- package/src/cli/tests/routing-config.test.ts +0 -281
- package/src/core/control-command.ts +0 -12
- package/src/core/dedup-store.ts +0 -103
- package/src/core/gateway.ts +0 -609
- package/src/core/routing.ts +0 -404
- package/src/core/runtime-registry.ts +0 -141
- package/src/core/tests/control-command.test.ts +0 -20
- package/src/core/tests/runtime-registry.test.ts +0 -140
- package/src/core/tests/typing-controller.test.ts +0 -129
- package/src/core/types.ts +0 -324
- package/src/core/typing-controller.ts +0 -119
- package/src/cron/config.ts +0 -154
- package/src/cron/schedule.ts +0 -61
- package/src/cron/service.ts +0 -249
- package/src/cron/store.ts +0 -155
- package/src/cron/types.ts +0 -60
- package/src/extension/loader.ts +0 -145
- package/src/extension/manager.ts +0 -355
- package/src/extension/manifest.ts +0 -26
- package/src/extension/registry.ts +0 -229
- package/src/main.ts +0 -8
- package/src/sandbox/executor.ts +0 -44
- package/src/sandbox/host-executor.ts +0 -118
- package/src/shared/dobby-repo.ts +0 -48
- package/tsconfig.json +0 -18
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
export interface RawExtensionPackageConfig {
|
|
2
|
-
package: string;
|
|
3
|
-
enabled?: boolean;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export interface RawExtensionItemConfig {
|
|
7
|
-
type: string;
|
|
8
|
-
[key: string]: unknown;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface RawRouteDefaults {
|
|
12
|
-
projectRoot?: string;
|
|
13
|
-
provider?: string;
|
|
14
|
-
sandbox?: string;
|
|
15
|
-
tools?: "full" | "readonly";
|
|
16
|
-
mentions?: "required" | "optional";
|
|
17
|
-
[key: string]: unknown;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface RawRouteProfile {
|
|
21
|
-
projectRoot?: string;
|
|
22
|
-
tools?: "full" | "readonly";
|
|
23
|
-
systemPromptFile?: string;
|
|
24
|
-
mentions?: "required" | "optional";
|
|
25
|
-
provider?: string;
|
|
26
|
-
sandbox?: string;
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface RawDefaultBindingConfig {
|
|
31
|
-
route: string;
|
|
32
|
-
[key: string]: unknown;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface RawBindingConfig {
|
|
36
|
-
connector: string;
|
|
37
|
-
source: {
|
|
38
|
-
type: "channel" | "chat";
|
|
39
|
-
id: string;
|
|
40
|
-
[key: string]: unknown;
|
|
41
|
-
};
|
|
42
|
-
route: string;
|
|
43
|
-
[key: string]: unknown;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface RawGatewayConfig {
|
|
47
|
-
extensions?: {
|
|
48
|
-
allowList?: RawExtensionPackageConfig[];
|
|
49
|
-
[key: string]: unknown;
|
|
50
|
-
};
|
|
51
|
-
providers?: {
|
|
52
|
-
default?: string;
|
|
53
|
-
items?: Record<string, RawExtensionItemConfig>;
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
};
|
|
56
|
-
connectors?: {
|
|
57
|
-
items?: Record<string, RawExtensionItemConfig>;
|
|
58
|
-
[key: string]: unknown;
|
|
59
|
-
};
|
|
60
|
-
sandboxes?: {
|
|
61
|
-
default?: string;
|
|
62
|
-
items?: Record<string, RawExtensionItemConfig>;
|
|
63
|
-
[key: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
routes?: {
|
|
66
|
-
defaults?: RawRouteDefaults;
|
|
67
|
-
items?: Record<string, RawRouteProfile>;
|
|
68
|
-
[key: string]: unknown;
|
|
69
|
-
};
|
|
70
|
-
bindings?: {
|
|
71
|
-
default?: RawDefaultBindingConfig;
|
|
72
|
-
items?: Record<string, RawBindingConfig>;
|
|
73
|
-
[key: string]: unknown;
|
|
74
|
-
};
|
|
75
|
-
data?: {
|
|
76
|
-
rootDir?: string;
|
|
77
|
-
dedupTtlMs?: number;
|
|
78
|
-
[key: string]: unknown;
|
|
79
|
-
};
|
|
80
|
-
[key: string]: unknown;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export interface NormalizedGatewayConfig extends RawGatewayConfig {
|
|
84
|
-
extensions: {
|
|
85
|
-
allowList: RawExtensionPackageConfig[];
|
|
86
|
-
[key: string]: unknown;
|
|
87
|
-
};
|
|
88
|
-
providers: {
|
|
89
|
-
default: string;
|
|
90
|
-
items: Record<string, RawExtensionItemConfig>;
|
|
91
|
-
[key: string]: unknown;
|
|
92
|
-
};
|
|
93
|
-
connectors: {
|
|
94
|
-
items: Record<string, RawExtensionItemConfig>;
|
|
95
|
-
[key: string]: unknown;
|
|
96
|
-
};
|
|
97
|
-
sandboxes: {
|
|
98
|
-
default: string;
|
|
99
|
-
items: Record<string, RawExtensionItemConfig>;
|
|
100
|
-
[key: string]: unknown;
|
|
101
|
-
};
|
|
102
|
-
routes: {
|
|
103
|
-
default: RawRouteDefaults;
|
|
104
|
-
items: Record<string, RawRouteProfile>;
|
|
105
|
-
[key: string]: unknown;
|
|
106
|
-
};
|
|
107
|
-
bindings: {
|
|
108
|
-
default?: RawDefaultBindingConfig;
|
|
109
|
-
items: Record<string, RawBindingConfig>;
|
|
110
|
-
[key: string]: unknown;
|
|
111
|
-
};
|
|
112
|
-
data: {
|
|
113
|
-
rootDir: string;
|
|
114
|
-
dedupTtlMs: number;
|
|
115
|
-
[key: string]: unknown;
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export interface ContributionInstanceTemplate {
|
|
120
|
-
id: string;
|
|
121
|
-
type: string;
|
|
122
|
-
config: Record<string, unknown>;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export interface ContributionTemplatesByKind {
|
|
126
|
-
providers: ContributionInstanceTemplate[];
|
|
127
|
-
connectors: ContributionInstanceTemplate[];
|
|
128
|
-
sandboxes: ContributionInstanceTemplate[];
|
|
129
|
-
}
|