pi-web-kit 0.1.0 → 0.1.1

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/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ This project follows the spirit of [Keep a Changelog](https://keepachangelog.com
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.1] - 2026-05-09
10
+
11
+ ### Fixed
12
+
13
+ - Show the Pi extension as `pi-web-kit` instead of `pi-web-kit:pi-web-kit` in the startup extensions list.
14
+
9
15
  ## [0.1.0] - 2026-05-09
10
16
 
11
17
  ### Added
package/CONTRIBUTING.md CHANGED
@@ -43,7 +43,7 @@ Before opening a pull request:
43
43
 
44
44
  ## Coding guidelines
45
45
 
46
- - Keep `extensions/pi-web-kit/index.ts` focused on Pi tool registration and move reusable implementation details into `src/`.
46
+ - Keep `extensions/index.ts` focused on Pi tool registration and move reusable implementation details into `src/`.
47
47
  - When changing tool parameters, update the Typebox schema, runtime validation, README parameter docs, and tests together.
48
48
  - Treat provider names, config keys, env vars, and cache semantics as public interface; changes to defaults or precedence are breaking changes.
49
49
  - Validate and normalize external URLs before provider calls.
@@ -1,13 +1,13 @@
1
1
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
2
2
  import { Text } from "@earendil-works/pi-tui";
3
3
  import { Type } from "typebox";
4
- import { fetchCache, type CachedPage } from "../../src/cache.js";
5
- import { resolveConfig } from "../../src/config.js";
6
- import { DEFAULT_FETCH_LIMIT, DEFAULT_NUM_RESULTS, MAX_LIMIT, MAX_NUM_RESULTS, MAX_OFFSET, MAX_QUERY_COUNT, MAX_URL_COUNT, MULTI_FETCH_LIMIT } from "../../src/limits.js";
7
- import { truncateText } from "../../src/http.js";
8
- import { createFetchProvider, createSearchProvider } from "../../src/providers/index.js";
9
- import type { FetchProviderName, SearchProviderName, WebFetchResult } from "../../src/types.js";
10
- import { canonicalWebUrl, normalizeUrlInput, urlsMatch } from "../../src/urls.js";
4
+ import { fetchCache, type CachedPage } from "../src/cache.js";
5
+ import { resolveConfig } from "../src/config.js";
6
+ import { DEFAULT_FETCH_LIMIT, DEFAULT_NUM_RESULTS, MAX_LIMIT, MAX_NUM_RESULTS, MAX_OFFSET, MAX_QUERY_COUNT, MAX_URL_COUNT, MULTI_FETCH_LIMIT } from "../src/limits.js";
7
+ import { truncateText } from "../src/http.js";
8
+ import { createFetchProvider, createSearchProvider } from "../src/providers/index.js";
9
+ import type { FetchProviderName, SearchProviderName, WebFetchResult } from "../src/types.js";
10
+ import { canonicalWebUrl, normalizeUrlInput, urlsMatch } from "../src/urls.js";
11
11
 
12
12
  export default function (pi: ExtensionAPI) {
13
13
  pi.registerFlag("web-provider-search", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-web-kit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Context-efficient web search and fetch tools for Pi.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "pi": {
29
29
  "extensions": [
30
- "./extensions/pi-web-kit"
30
+ "./extensions/index.ts"
31
31
  ]
32
32
  },
33
33
  "files": [