create-nola-lang 0.1.11 → 0.1.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.
Files changed (48) hide show
  1. package/README.md +19 -13
  2. package/dist/agents.d.ts +13 -1
  3. package/dist/agents.js +107 -9
  4. package/dist/checkout.d.ts +20 -0
  5. package/dist/checkout.js +48 -1
  6. package/dist/{chunk-MAULRZZD.js → chunk-LUSVIOAN.js} +248 -77
  7. package/dist/flow.d.ts +19 -5
  8. package/dist/flow.js +139 -51
  9. package/dist/ide.d.ts +2 -2
  10. package/dist/ide.js +12 -11
  11. package/dist/index.d.ts +1 -1
  12. package/dist/index.js +5 -1
  13. package/dist/launch.d.ts +2 -0
  14. package/dist/launch.js +1 -0
  15. package/dist/main.js +1 -1
  16. package/dist/providers.d.ts +7 -4
  17. package/dist/providers.js +3 -2
  18. package/dist/registry.d.ts +30 -2
  19. package/dist/registry.js +34 -7
  20. package/dist/scaffold.d.ts +20 -6
  21. package/dist/scaffold.js +42 -13
  22. package/package.json +1 -1
  23. package/skills/nola/SKILL.md +8 -5
  24. package/skills/nola/references/config.md +22 -13
  25. package/skills/nola/references/patterns.md +92 -17
  26. package/skills/nola/references/pitfalls.md +66 -19
  27. package/skills/nola/references/syntax.md +98 -28
  28. package/templates/_providers/typesafe.config.ts +18 -0
  29. package/templates/feature-extraction/README.md +20 -0
  30. package/templates/feature-extraction/nola.config.ts +14 -0
  31. package/templates/feature-extraction/nola.replay.jsonl +2 -0
  32. package/templates/feature-extraction/package.json +22 -0
  33. package/templates/feature-extraction/src/main.tsi +22 -0
  34. package/templates/function-calling/README.md +21 -0
  35. package/templates/function-calling/nola.config.ts +14 -0
  36. package/templates/function-calling/nola.replay.jsonl +1 -0
  37. package/templates/function-calling/package.json +22 -0
  38. package/templates/function-calling/src/main.tsi +12 -0
  39. package/templates/function-calling/src/tickets.ts +17 -0
  40. package/templates/function-calling/tsconfig.json +12 -0
  41. package/templates/{starter → typescript-interop}/nola.config.ts +1 -1
  42. package/templates/{starter → typescript-interop}/src/person.tsi +1 -1
  43. package/templates/typescript-interop/tsconfig.json +12 -0
  44. /package/templates/{starter → feature-extraction}/tsconfig.json +0 -0
  45. /package/templates/{starter → typescript-interop}/README.md +0 -0
  46. /package/templates/{starter → typescript-interop}/nola.replay.jsonl +0 -0
  47. /package/templates/{starter → typescript-interop}/package.json +0 -0
  48. /package/templates/{starter → typescript-interop}/src/main.ts +0 -0
@@ -2,7 +2,7 @@ import { replay } from "@nola-lang/providers";
2
2
  import { defineConfig } from "@nola-lang/runtime";
3
3
 
4
4
  export default defineConfig({
5
- // The starter runs offline: answers replay from the committed ledger
5
+ // This project runs offline: answers replay from the committed ledger
6
6
  // (nola.replay.jsonl), so the first `npm start` needs no API key. The
7
7
  // ledger is keyed by the exact prompt — once you edit the .tsi or add
8
8
  // asks, switch to a real model:
@@ -6,6 +6,6 @@ export interface Person {
6
6
  }
7
7
 
8
8
  export infer function extractPerson(.message: string) {
9
- const person = ask ..`the person described in the text`<Person>;
9
+ const person = ask `the person described in the text`<Person>;
10
10
  return person;
11
11
  }
@@ -0,0 +1,12 @@
1
+ {
2
+ "compilerOptions": {
3
+ "strict": true,
4
+ "target": "ES2022",
5
+ "module": "NodeNext",
6
+ "moduleResolution": "NodeNext",
7
+ "allowArbitraryExtensions": true,
8
+ "noEmit": true,
9
+ "skipLibCheck": true
10
+ },
11
+ "include": ["src"]
12
+ }