newtype-profile 1.0.11 → 1.0.13

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.11",
2256
+ version: "1.0.13",
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",
package/dist/index.js CHANGED
@@ -44721,6 +44721,14 @@ var CATEGORY_PROMPT_APPENDS = {
44721
44721
  extraction: EXTRACTION_CATEGORY_PROMPT_APPEND,
44722
44722
  quick: QUICK_CATEGORY_PROMPT_APPEND
44723
44723
  };
44724
+ var AGENT_TO_CATEGORY_MAP = {
44725
+ "fact-checker": "fact-check",
44726
+ researcher: "research",
44727
+ archivist: "archive",
44728
+ writer: "writing",
44729
+ editor: "editing",
44730
+ extractor: "extraction"
44731
+ };
44724
44732
  var BUILTIN_CATEGORIES = Object.keys(DEFAULT_CATEGORIES).join(", ");
44725
44733
  var CHIEF_TASK_DESCRIPTION = `Spawn agent task with category-based or direct agent selection.
44726
44734
 
@@ -45101,6 +45109,10 @@ ${textContent || "(No text output)"}`;
45101
45109
  if (!agentToUse) {
45102
45110
  return `\u274C Agent name cannot be empty.`;
45103
45111
  }
45112
+ const mappedCategory = AGENT_TO_CATEGORY_MAP[agentToUse];
45113
+ if (mappedCategory) {
45114
+ categoryPromptAppend = CATEGORY_PROMPT_APPENDS[mappedCategory];
45115
+ }
45104
45116
  try {
45105
45117
  const agentsResult = await client2.app.agents();
45106
45118
  const agents = agentsResult.data ?? agentsResult;
@@ -49275,6 +49287,20 @@ SOURCE: [Where you found it]
49275
49287
  NOTES: [Context, caveats, or recommendations]
49276
49288
  \`\`\`
49277
49289
 
49290
+ ## Confidence Score (REQUIRED)
49291
+ After completing your verification, you MUST end your response with a confidence score in this EXACT format:
49292
+
49293
+ ---
49294
+ **CONFIDENCE: X.XX**
49295
+
49296
+ Where X.XX is a number between 0.00 and 1.00:
49297
+ - 0.90-1.00: All claims verified with authoritative sources
49298
+ - 0.70-0.89: Most claims verified, minor uncertainties
49299
+ - 0.50-0.69: Some claims unverified or conflicting sources
49300
+ - 0.00-0.49: Significant issues, major claims unverified or false
49301
+
49302
+ This score determines whether the content passes review or needs revision.
49303
+
49278
49304
  ## What You DON'T Do
49279
49305
  - You don't MODIFY content \u2014 report findings to Chief
49280
49306
  - You don't SEARCH for new topics \u2014 that's researcher's job
@@ -9,4 +9,10 @@ export declare const QUICK_CATEGORY_PROMPT_APPEND = "<Category_Context>\nYou are
9
9
  export declare const DEFAULT_CATEGORIES: Record<string, CategoryConfig>;
10
10
  export declare const CATEGORY_PROMPT_APPENDS: Record<string, string>;
11
11
  export declare const CATEGORY_DESCRIPTIONS: Record<string, string>;
12
+ /**
13
+ * Maps agent names to their corresponding category for prompt append injection.
14
+ * When chief_task is called with subagent_type, we still want to inject
15
+ * the category-specific prompt (e.g., CONFIDENCE format for fact-checker).
16
+ */
17
+ export declare const AGENT_TO_CATEGORY_MAP: Record<string, string>;
12
18
  export declare const CHIEF_TASK_DESCRIPTION: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newtype-profile",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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",