@rosthq/cli 0.7.107 → 0.7.108

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.
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../src/docs.ts"],"names":[],"mappings":"AAUA,wBAAgB,eAAe,IAAI,MAAM,CAIxC;AAED,wBAAgB,sBAAsB,IAAI,MAAM,CAkD/C"}
1
+ {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../src/docs.ts"],"names":[],"mappings":"AAWA,wBAAgB,eAAe,IAAI,MAAM,CAexC;AAED,wBAAgB,sBAAsB,IAAI,MAAM,CAkD/C"}
package/dist/index.js CHANGED
@@ -47593,6 +47593,23 @@ function loadAgentHowToPrompt(contract) {
47593
47593
  function listAgentHowToPrompts() {
47594
47594
  return Object.values(AGENT_HOW_TO_PROMPT_CONTRACTS);
47595
47595
  }
47596
+ var HUMAN_CONFIRMATIONS_SOFTWARE_FACTORY_PROMPT_CONTRACT = {
47597
+ name: "human-confirmations-software-factory",
47598
+ version: "1.0.0",
47599
+ filename: "how-tos/human-confirmations-software-factory.md"
47600
+ };
47601
+ function loadHumanConfirmationsPrompt(options) {
47602
+ const core = loadAgentHowToPrompt(AGENT_HOW_TO_PROMPT_CONTRACTS.humanConfirmations);
47603
+ if (!options?.includeSoftwareFactory) {
47604
+ return core;
47605
+ }
47606
+ const softwareFactoryBranch = loadAgentHowToPrompt(HUMAN_CONFIRMATIONS_SOFTWARE_FACTORY_PROMPT_CONTRACT);
47607
+ return `${core}
47608
+
47609
+ ---
47610
+
47611
+ ${softwareFactoryBranch}`;
47612
+ }
47596
47613
 
47597
47614
  // ../../packages/reference/src/schema.ts
47598
47615
  var referenceAudiences = ["human", "cli", "mcp", "in_app_agent"];
@@ -52070,8 +52087,11 @@ function countMatches(text, term) {
52070
52087
 
52071
52088
  // src/docs.ts
52072
52089
  function renderHowToDocs() {
52073
- return listAgentHowToPrompts().map((contract) => `<!-- ${contract.name}@${contract.version} -->
52074
- ${loadAgentHowToPrompt(contract)}`).join("\n\n---\n\n");
52090
+ return listAgentHowToPrompts().map((contract) => {
52091
+ const body = contract.filename === AGENT_HOW_TO_PROMPT_CONTRACTS.humanConfirmations.filename ? loadHumanConfirmationsPrompt({ includeSoftwareFactory: true }) : loadAgentHowToPrompt(contract);
52092
+ return `<!-- ${contract.name}@${contract.version} -->
52093
+ ${body}`;
52094
+ }).join("\n\n---\n\n");
52075
52095
  }
52076
52096
  function renderOnboardRunPrompt() {
52077
52097
  const tenantOnboarding = loadAgentHowToPrompt(AGENT_HOW_TO_PROMPT_CONTRACTS.tenantOnboarding);