pi-adaptive-thinking 0.0.0

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.
@@ -0,0 +1,5 @@
1
+ import type { Api, Model } from "@earendil-works/pi-ai";
2
+ export declare const fallbackThinkingLevels: readonly ["off", "minimal", "low", "medium", "high", "xhigh"];
3
+ export type PiThinkingLevel = (typeof fallbackThinkingLevels)[number];
4
+ export declare const isThinkingLevel: (level: string) => level is PiThinkingLevel;
5
+ export declare const resolveSupportedThinkingLevels: (model: Model<Api> | undefined) => PiThinkingLevel[];
package/package.json ADDED
@@ -0,0 +1,78 @@
1
+ {
2
+ "name": "pi-adaptive-thinking",
3
+ "version": "0.0.0",
4
+ "description": "Pi Adaptive Thinking extension",
5
+ "keywords": [
6
+ "adaptive-thinking",
7
+ "pi",
8
+ "pi-package",
9
+ "reasoning",
10
+ "thinking"
11
+ ],
12
+ "homepage": "https://github.com/ian-pascoe/pi-adaptive-thinking#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/ian-pascoe/pi-adaptive-thinking/issues"
15
+ },
16
+ "license": "MIT",
17
+ "author": "Ian Pascoe",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/ian-pascoe/pi-adaptive-thinking.git"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md"
25
+ ],
26
+ "type": "module",
27
+ "main": "dist/index.js",
28
+ "types": "dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "import": "./dist/index.js",
33
+ "default": "./dist/index.js"
34
+ }
35
+ },
36
+ "publishConfig": {
37
+ "access": "public",
38
+ "provenance": true
39
+ },
40
+ "scripts": {
41
+ "build": "pnpm run clean && pnpm run build:js && pnpm run build:types",
42
+ "build:js": "rolldown -c",
43
+ "build:types": "tsgo --project tsconfig.build.json --emitDeclarationOnly",
44
+ "build:watch": "rolldown -c -w",
45
+ "clean": "rm -rf dist",
46
+ "format": "oxfmt",
47
+ "format:check": "oxfmt --check",
48
+ "lint": "oxlint",
49
+ "lint:fix": "oxlint --fix",
50
+ "test": "vitest run",
51
+ "typecheck": "tsgo --noEmit",
52
+ "verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build",
53
+ "prepare": "husky"
54
+ },
55
+ "devDependencies": {
56
+ "@changesets/changelog-github": "^0.7.0",
57
+ "@changesets/cli": "^2.31.0",
58
+ "@types/node": "^25.9.1",
59
+ "@typescript/native-preview": "7.0.0-dev.20260526.1",
60
+ "husky": "^9.1.7",
61
+ "oxfmt": "^0.52.0",
62
+ "oxlint": "^1.67.0",
63
+ "rolldown": "1.0.2",
64
+ "typescript": "^6.0.3",
65
+ "vitest": "^4.1.7"
66
+ },
67
+ "peerDependencies": {
68
+ "@earendil-works/pi-ai": "*",
69
+ "@earendil-works/pi-coding-agent": "*",
70
+ "typebox": "*"
71
+ },
72
+ "packageManager": "pnpm@10.33.2",
73
+ "pi": {
74
+ "extensions": [
75
+ "./dist/index.js"
76
+ ]
77
+ }
78
+ }