@arcbridge/core 0.4.1 → 0.4.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/dist/index.d.ts +8 -3
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ declare const ArcBridgeConfigSchema: z.ZodObject<{
|
|
|
43
43
|
tsconfig?: string | undefined;
|
|
44
44
|
csproj?: string | undefined;
|
|
45
45
|
}>, "many">>;
|
|
46
|
-
platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<["claude", "copilot", "gemini", "codex"]>, "many">>;
|
|
46
|
+
platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<["claude", "copilot", "gemini", "codex", "opencode"]>, "many">>;
|
|
47
47
|
quality_priorities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
48
48
|
indexing: z.ZodDefault<z.ZodObject<{
|
|
49
49
|
include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -109,7 +109,7 @@ declare const ArcBridgeConfigSchema: z.ZodObject<{
|
|
|
109
109
|
tsconfig?: string | undefined;
|
|
110
110
|
csproj?: string | undefined;
|
|
111
111
|
}[];
|
|
112
|
-
platforms: ("claude" | "copilot" | "gemini" | "codex")[];
|
|
112
|
+
platforms: ("claude" | "copilot" | "gemini" | "codex" | "opencode")[];
|
|
113
113
|
quality_priorities: string[];
|
|
114
114
|
indexing: {
|
|
115
115
|
include: string[];
|
|
@@ -143,7 +143,7 @@ declare const ArcBridgeConfigSchema: z.ZodObject<{
|
|
|
143
143
|
tsconfig?: string | undefined;
|
|
144
144
|
csproj?: string | undefined;
|
|
145
145
|
}[] | undefined;
|
|
146
|
-
platforms?: ("claude" | "copilot" | "gemini" | "codex")[] | undefined;
|
|
146
|
+
platforms?: ("claude" | "copilot" | "gemini" | "codex" | "opencode")[] | undefined;
|
|
147
147
|
quality_priorities?: string[] | undefined;
|
|
148
148
|
indexing?: {
|
|
149
149
|
include?: string[] | undefined;
|
|
@@ -668,14 +668,17 @@ declare const AgentRoleSchema: z.ZodObject<{
|
|
|
668
668
|
claude: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
669
669
|
copilot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
670
670
|
codex: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
671
|
+
opencode: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
671
672
|
}, "strip", z.ZodTypeAny, {
|
|
672
673
|
claude?: Record<string, unknown> | undefined;
|
|
673
674
|
copilot?: Record<string, unknown> | undefined;
|
|
674
675
|
codex?: Record<string, unknown> | undefined;
|
|
676
|
+
opencode?: Record<string, unknown> | undefined;
|
|
675
677
|
}, {
|
|
676
678
|
claude?: Record<string, unknown> | undefined;
|
|
677
679
|
copilot?: Record<string, unknown> | undefined;
|
|
678
680
|
codex?: Record<string, unknown> | undefined;
|
|
681
|
+
opencode?: Record<string, unknown> | undefined;
|
|
679
682
|
}>>;
|
|
680
683
|
system_prompt: z.ZodString;
|
|
681
684
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -700,6 +703,7 @@ declare const AgentRoleSchema: z.ZodObject<{
|
|
|
700
703
|
claude?: Record<string, unknown> | undefined;
|
|
701
704
|
copilot?: Record<string, unknown> | undefined;
|
|
702
705
|
codex?: Record<string, unknown> | undefined;
|
|
706
|
+
opencode?: Record<string, unknown> | undefined;
|
|
703
707
|
};
|
|
704
708
|
system_prompt: string;
|
|
705
709
|
}, {
|
|
@@ -725,6 +729,7 @@ declare const AgentRoleSchema: z.ZodObject<{
|
|
|
725
729
|
claude?: Record<string, unknown> | undefined;
|
|
726
730
|
copilot?: Record<string, unknown> | undefined;
|
|
727
731
|
codex?: Record<string, unknown> | undefined;
|
|
732
|
+
opencode?: Record<string, unknown> | undefined;
|
|
728
733
|
} | undefined;
|
|
729
734
|
}>;
|
|
730
735
|
type AgentRole = z.infer<typeof AgentRoleSchema>;
|
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ var ArcBridgeConfigSchema = z2.object({
|
|
|
57
57
|
"angular-app"
|
|
58
58
|
]).default("nextjs-app-router"),
|
|
59
59
|
services: z2.array(ServiceSchema).default([]),
|
|
60
|
-
platforms: z2.array(z2.enum(["claude", "copilot", "gemini", "codex"])).default(["claude"]),
|
|
60
|
+
platforms: z2.array(z2.enum(["claude", "copilot", "gemini", "codex", "opencode"])).default(["claude"]),
|
|
61
61
|
quality_priorities: z2.array(QualityCategorySchema).default(["security", "performance", "accessibility"]).describe(QUALITY_PRIORITIES_DESCRIPTION),
|
|
62
62
|
indexing: z2.object({
|
|
63
63
|
include: z2.array(z2.string()).default(["src/**/*", "app/**/*"]),
|
|
@@ -195,7 +195,8 @@ var AgentRoleSchema = z6.object({
|
|
|
195
195
|
platform_overrides: z6.object({
|
|
196
196
|
claude: z6.record(z6.string(), z6.unknown()).optional(),
|
|
197
197
|
copilot: z6.record(z6.string(), z6.unknown()).optional(),
|
|
198
|
-
codex: z6.record(z6.string(), z6.unknown()).optional()
|
|
198
|
+
codex: z6.record(z6.string(), z6.unknown()).optional(),
|
|
199
|
+
opencode: z6.record(z6.string(), z6.unknown()).optional()
|
|
199
200
|
}).default({}),
|
|
200
201
|
// The markdown body (system prompt) is stored separately
|
|
201
202
|
system_prompt: z6.string().min(1)
|