newtype-profile 1.0.7 → 1.0.9

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.7",
2256
+ version: "1.0.9",
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
@@ -23336,6 +23336,13 @@ function createChiefOrchestratorHook(ctx, options) {
23336
23336
  }
23337
23337
  },
23338
23338
  "tool.execute.before": async (input, output) => {
23339
+ if (input.tool === "chief_task") {
23340
+ log(`[${HOOK_NAME6}] chief_task detected`, {
23341
+ sessionID: input.sessionID,
23342
+ callID: input.callID,
23343
+ isOrchestrator: isCallerOrchestrator(input.sessionID)
23344
+ });
23345
+ }
23339
23346
  if (!isCallerOrchestrator(input.sessionID)) {
23340
23347
  return;
23341
23348
  }
@@ -51794,6 +51801,7 @@ var OhMyOpenCodePlugin = async (ctx) => {
51794
51801
  await directoryReadmeInjector?.["tool.execute.before"]?.(input, output);
51795
51802
  await rulesInjector?.["tool.execute.before"]?.(input, output);
51796
51803
  await prometheusMdOnly?.["tool.execute.before"]?.(input, output);
51804
+ await chiefOrchestrator?.["tool.execute.before"]?.(input, output);
51797
51805
  if (input.tool === "task") {
51798
51806
  const args = output.args;
51799
51807
  const subagentType = args.subagent_type;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newtype-profile",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
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",