newtype-profile 1.0.46 → 1.0.47

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/cli/index.js CHANGED
@@ -2253,7 +2253,7 @@ var require_picocolors = __commonJS((exports, module) => {
2253
2253
  var require_package = __commonJS((exports, module) => {
2254
2254
  module.exports = {
2255
2255
  name: "newtype-profile",
2256
- version: "1.0.46",
2256
+ version: "1.0.47",
2257
2257
  description: "AI Agent Collaboration System for Content Creation - Based on oh-my-opencode",
2258
2258
  main: "dist/index.js",
2259
2259
  types: "dist/index.d.ts",
@@ -22184,6 +22184,7 @@ var BuiltinSkillNameSchema = exports_external.enum([
22184
22184
  ]);
22185
22185
  var OverridableAgentNameSchema = exports_external.enum([
22186
22186
  "build",
22187
+ "deputy",
22187
22188
  "plan",
22188
22189
  "chief",
22189
22190
  "researcher",
@@ -22250,6 +22251,7 @@ var AgentOverrideConfigSchema = exports_external.object({
22250
22251
  });
22251
22252
  var AgentOverridesSchema = exports_external.object({
22252
22253
  build: AgentOverrideConfigSchema.optional(),
22254
+ deputy: AgentOverrideConfigSchema.optional(),
22253
22255
  plan: AgentOverrideConfigSchema.optional(),
22254
22256
  chief: AgentOverrideConfigSchema.optional(),
22255
22257
  researcher: AgentOverrideConfigSchema.optional(),
@@ -23,6 +23,7 @@ export declare const OverridableAgentNameSchema: z.ZodEnum<{
23
23
  writer: "writer";
24
24
  editor: "editor";
25
25
  build: "build";
26
+ deputy: "deputy";
26
27
  plan: "plan";
27
28
  }>;
28
29
  export declare const AgentNameSchema: z.ZodEnum<{
@@ -173,6 +174,55 @@ export declare const AgentOverridesSchema: z.ZodObject<{
173
174
  }>>;
174
175
  }, z.core.$strip>>;
175
176
  }, z.core.$strip>>;
177
+ deputy: z.ZodOptional<z.ZodObject<{
178
+ model: z.ZodOptional<z.ZodString>;
179
+ category: z.ZodOptional<z.ZodString>;
180
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
+ temperature: z.ZodOptional<z.ZodNumber>;
182
+ top_p: z.ZodOptional<z.ZodNumber>;
183
+ prompt: z.ZodOptional<z.ZodString>;
184
+ prompt_append: z.ZodOptional<z.ZodString>;
185
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
186
+ disable: z.ZodOptional<z.ZodBoolean>;
187
+ description: z.ZodOptional<z.ZodString>;
188
+ mode: z.ZodOptional<z.ZodEnum<{
189
+ subagent: "subagent";
190
+ primary: "primary";
191
+ all: "all";
192
+ }>>;
193
+ color: z.ZodOptional<z.ZodString>;
194
+ permission: z.ZodOptional<z.ZodObject<{
195
+ edit: z.ZodOptional<z.ZodEnum<{
196
+ allow: "allow";
197
+ ask: "ask";
198
+ deny: "deny";
199
+ }>>;
200
+ bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
201
+ allow: "allow";
202
+ ask: "ask";
203
+ deny: "deny";
204
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
205
+ allow: "allow";
206
+ ask: "ask";
207
+ deny: "deny";
208
+ }>>]>>;
209
+ webfetch: z.ZodOptional<z.ZodEnum<{
210
+ allow: "allow";
211
+ ask: "ask";
212
+ deny: "deny";
213
+ }>>;
214
+ doom_loop: z.ZodOptional<z.ZodEnum<{
215
+ allow: "allow";
216
+ ask: "ask";
217
+ deny: "deny";
218
+ }>>;
219
+ external_directory: z.ZodOptional<z.ZodEnum<{
220
+ allow: "allow";
221
+ ask: "ask";
222
+ deny: "deny";
223
+ }>>;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>>;
176
226
  plan: z.ZodOptional<z.ZodObject<{
177
227
  model: z.ZodOptional<z.ZodString>;
178
228
  category: z.ZodOptional<z.ZodString>;
@@ -944,6 +994,55 @@ export declare const OhMyOpenCodeConfigSchema: z.ZodObject<{
944
994
  }>>;
945
995
  }, z.core.$strip>>;
946
996
  }, z.core.$strip>>;
997
+ deputy: z.ZodOptional<z.ZodObject<{
998
+ model: z.ZodOptional<z.ZodString>;
999
+ category: z.ZodOptional<z.ZodString>;
1000
+ skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
1001
+ temperature: z.ZodOptional<z.ZodNumber>;
1002
+ top_p: z.ZodOptional<z.ZodNumber>;
1003
+ prompt: z.ZodOptional<z.ZodString>;
1004
+ prompt_append: z.ZodOptional<z.ZodString>;
1005
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1006
+ disable: z.ZodOptional<z.ZodBoolean>;
1007
+ description: z.ZodOptional<z.ZodString>;
1008
+ mode: z.ZodOptional<z.ZodEnum<{
1009
+ subagent: "subagent";
1010
+ primary: "primary";
1011
+ all: "all";
1012
+ }>>;
1013
+ color: z.ZodOptional<z.ZodString>;
1014
+ permission: z.ZodOptional<z.ZodObject<{
1015
+ edit: z.ZodOptional<z.ZodEnum<{
1016
+ allow: "allow";
1017
+ ask: "ask";
1018
+ deny: "deny";
1019
+ }>>;
1020
+ bash: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1021
+ allow: "allow";
1022
+ ask: "ask";
1023
+ deny: "deny";
1024
+ }>, z.ZodRecord<z.ZodString, z.ZodEnum<{
1025
+ allow: "allow";
1026
+ ask: "ask";
1027
+ deny: "deny";
1028
+ }>>]>>;
1029
+ webfetch: z.ZodOptional<z.ZodEnum<{
1030
+ allow: "allow";
1031
+ ask: "ask";
1032
+ deny: "deny";
1033
+ }>>;
1034
+ doom_loop: z.ZodOptional<z.ZodEnum<{
1035
+ allow: "allow";
1036
+ ask: "ask";
1037
+ deny: "deny";
1038
+ }>>;
1039
+ external_directory: z.ZodOptional<z.ZodEnum<{
1040
+ allow: "allow";
1041
+ ask: "ask";
1042
+ deny: "deny";
1043
+ }>>;
1044
+ }, z.core.$strip>>;
1045
+ }, z.core.$strip>>;
947
1046
  plan: z.ZodOptional<z.ZodObject<{
948
1047
  model: z.ZodOptional<z.ZodString>;
949
1048
  category: z.ZodOptional<z.ZodString>;
package/dist/index.js CHANGED
@@ -46603,9 +46603,9 @@ System notifies on completion. Use \`background_output\` with task_id="${task.id
46603
46603
  path: { id: sessionID },
46604
46604
  body: {
46605
46605
  agent: agentToUse,
46606
- model: categoryModel,
46607
46606
  system: systemContent,
46608
- parts: [{ type: "text", text: args.prompt }]
46607
+ parts: [{ type: "text", text: args.prompt }],
46608
+ ...categoryModel ? { model: categoryModel } : {}
46609
46609
  }
46610
46610
  }).catch((error45) => {
46611
46611
  promptError = error45 instanceof Error ? error45 : new Error(String(error45));
@@ -46649,9 +46649,9 @@ Session ID: ${sessionID}`;
46649
46649
  path: { id: sessionID },
46650
46650
  body: {
46651
46651
  agent: agentToUse,
46652
- model: categoryModel,
46653
46652
  system: systemContent,
46654
- parts: [{ type: "text", text: qualityResult.improvementPrompt }]
46653
+ parts: [{ type: "text", text: qualityResult.improvementPrompt }],
46654
+ ...categoryModel ? { model: categoryModel } : {}
46655
46655
  }
46656
46656
  }).catch((error45) => {
46657
46657
  retryError = error45 instanceof Error ? error45 : new Error(String(error45));
@@ -46859,7 +46859,8 @@ class BackgroundManager {
46859
46859
  body: {
46860
46860
  agent: input.agent,
46861
46861
  system: input.skillContent,
46862
- parts: [{ type: "text", text: input.prompt }]
46862
+ parts: [{ type: "text", text: input.prompt }],
46863
+ ...input.model ? { model: input.model } : {}
46863
46864
  }
46864
46865
  }).catch((error45) => {
46865
46866
  log("[background-agent] promptAsync error:", error45);
@@ -50096,6 +50097,7 @@ var BuiltinSkillNameSchema = exports_external.enum([
50096
50097
  ]);
50097
50098
  var OverridableAgentNameSchema = exports_external.enum([
50098
50099
  "build",
50100
+ "deputy",
50099
50101
  "plan",
50100
50102
  "chief",
50101
50103
  "researcher",
@@ -50162,6 +50164,7 @@ var AgentOverrideConfigSchema = exports_external.object({
50162
50164
  });
50163
50165
  var AgentOverridesSchema = exports_external.object({
50164
50166
  build: AgentOverrideConfigSchema.optional(),
50167
+ deputy: AgentOverrideConfigSchema.optional(),
50165
50168
  plan: AgentOverrideConfigSchema.optional(),
50166
50169
  chief: AgentOverrideConfigSchema.optional(),
50167
50170
  researcher: AgentOverrideConfigSchema.optional(),
@@ -53047,9 +53050,9 @@ function createConfigHandler(deps) {
53047
53050
  chief: builtinAgents.chief
53048
53051
  };
53049
53052
  const agentsConfig = pluginConfig.agents;
53050
- const deputyModel = agentsConfig?.deputy?.model;
53053
+ const deputyModel = agentsConfig?.deputy?.model ?? "google/antigravity-claude-sonnet-4-5";
53051
53054
  agentConfig["deputy"] = createDeputyAgent({
53052
- ...deputyModel ? { model: deputyModel } : {},
53055
+ model: deputyModel,
53053
53056
  temperature: 0.1
53054
53057
  });
53055
53058
  const filteredConfigAgents = configAgent ? Object.fromEntries(Object.entries(configAgent).filter(([key]) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newtype-profile",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "AI Agent Collaboration System for Content Creation - Based on oh-my-opencode",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",