@felan-ai/ext-output-style 0.0.0 → 0.1.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.
Files changed (4) hide show
  1. package/LICENSE +21 -21
  2. package/NOTICE +6 -6
  3. package/README.md +29 -29
  4. package/package.json +2 -2
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Felan contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Felan contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/NOTICE CHANGED
@@ -1,6 +1,6 @@
1
- @felan-ai/ext-output-style
2
-
3
- Copyright (c) 2026 Felan contributors
4
-
5
- This package is original Felan code licensed under the MIT License included in
6
- this package. It has no third-party runtime dependencies.
1
+ @felan-ai/ext-output-style
2
+
3
+ Copyright (c) 2026 Felan contributors
4
+
5
+ This package is original Felan code licensed under the MIT License included in
6
+ this package. It has no third-party runtime dependencies.
package/README.md CHANGED
@@ -1,29 +1,29 @@
1
- # @felan-ai/ext-output-style
2
-
3
- Portable output-style instructions for Felan sessions.
4
-
5
- The extension appends one clearly bounded `## Output Style` section to the
6
- system prompt before each model run. It accepts only the built-in `concise` and
7
- `explanatory` styles; arbitrary prompt text and file-backed styles are not
8
- supported. `concise` is the default.
9
-
10
- ```ts
11
- import { createOutputStyleExtension } from '@felan-ai/ext-output-style';
12
-
13
- const extension = createOutputStyleExtension('explanatory');
14
- ```
15
-
16
- The Felan TUI validates its global `outputStyle` setting and binds the selected
17
- style to this extension for root and child sessions.
18
-
19
- ## Development
20
-
21
- Source: `packages/ext-output-style` in <https://github.com/felan-ai/felan>.
22
-
23
- ```sh
24
- corepack enable
25
- pnpm install --frozen-lockfile
26
- pnpm --filter @felan-ai/ext-output-style build
27
- pnpm --filter @felan-ai/ext-output-style type-check
28
- pnpm --filter @felan-ai/ext-output-style test
29
- ```
1
+ # @felan-ai/ext-output-style
2
+
3
+ Portable output-style instructions for Felan sessions.
4
+
5
+ The extension appends one clearly bounded `## Output Style` section to the
6
+ system prompt before each model run. It accepts only the built-in `concise` and
7
+ `explanatory` styles; arbitrary prompt text and file-backed styles are not
8
+ supported. `concise` is the default.
9
+
10
+ ```ts
11
+ import { createOutputStyleExtension } from '@felan-ai/ext-output-style';
12
+
13
+ const extension = createOutputStyleExtension('explanatory');
14
+ ```
15
+
16
+ The Felan TUI validates its global `outputStyle` setting and binds the selected
17
+ style to this extension for root and child sessions.
18
+
19
+ ## Development
20
+
21
+ Source: `packages/ext-output-style` in <https://github.com/felan-ai/felan>.
22
+
23
+ ```sh
24
+ corepack enable
25
+ pnpm install --frozen-lockfile
26
+ pnpm --filter @felan-ai/ext-output-style build
27
+ pnpm --filter @felan-ai/ext-output-style type-check
28
+ pnpm --filter @felan-ai/ext-output-style test
29
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felan-ai/ext-output-style",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "description": "Portable output-style system prompt extension for Felan",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,4 +39,4 @@
39
39
  "type-check": "tsc -p tsconfig.json --noEmit",
40
40
  "test": "vitest run"
41
41
  }
42
- }
42
+ }