ai-mock-provider 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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Magiksoft s.r.o.
3
+ Copyright (c) wladimiiir
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.cjs CHANGED
@@ -45,7 +45,7 @@ module.exports = __toCommonJS(index_exports);
45
45
  // src/model.ts
46
46
  var import_provider = require("@ai-sdk/provider");
47
47
 
48
- // ../../node_modules/lorem-ipsum/dist/index.js
48
+ // node_modules/lorem-ipsum/dist/index.js
49
49
  var FORMAT_HTML = "html";
50
50
  var FORMAT_PLAIN = "plain";
51
51
  var FORMATS = [FORMAT_HTML, FORMAT_PLAIN];
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  APICallError
4
4
  } from "@ai-sdk/provider";
5
5
 
6
- // ../../node_modules/lorem-ipsum/dist/index.js
6
+ // node_modules/lorem-ipsum/dist/index.js
7
7
  var FORMAT_HTML = "html";
8
8
  var FORMAT_PLAIN = "plain";
9
9
  var FORMATS = [FORMAT_HTML, FORMAT_PLAIN];
package/package.json CHANGED
@@ -1,16 +1,15 @@
1
1
  {
2
2
  "name": "ai-mock-provider",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Mock provider for the Vercel AI SDK (LanguageModelV4): scenario-based canned responses (markdown headings, tables, math, code, JSON, files), lorem ipsum filler, streaming speed simulation in tokens per second driven by the user message, tool calls with schema-generated inputs, provider-executed tool results, multi-call scripts, reasoning and error simulation. Test streamText and generateText with no API key.",
5
- "author": "Magiksoft s.r.o.",
6
- "homepage": "https://aiderdesk.dev",
5
+ "author": "wladimiiir",
6
+ "homepage": "https://github.com/wladimiiir/ai-mock-provider#readme",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/magiksoft/aider-desk.git",
10
- "directory": "packages/ai-mock-provider"
9
+ "url": "git+https://github.com/wladimiiir/ai-mock-provider.git"
11
10
  },
12
11
  "bugs": {
13
- "url": "https://github.com/magiksoft/aider-desk/issues"
12
+ "url": "https://github.com/wladimiiir/ai-mock-provider/issues"
14
13
  },
15
14
  "license": "MIT",
16
15
  "type": "module",
@@ -47,7 +46,7 @@
47
46
  "test": "vitest run",
48
47
  "test:watch": "vitest",
49
48
  "harness": "esbuild src/harness/run-harness.ts --bundle --platform=node --format=cjs --outfile=dist-harness/run-harness.cjs && node dist-harness/run-harness.cjs",
50
- "prepublishOnly": "npm run typecheck && npm test && npm run build"
49
+ "prepublishOnly": "npm run build"
51
50
  },
52
51
  "keywords": [
53
52
  "ai",
@@ -73,7 +72,11 @@
73
72
  },
74
73
  "devDependencies": {
75
74
  "@ai-sdk/provider": "4.0.39",
76
- "ai": "7.0.176"
75
+ "@types/node": "22.19.15",
76
+ "ai": "7.0.176",
77
+ "esbuild": "0.28.1",
78
+ "typescript": "5.9.3",
79
+ "vitest": "4.1.12"
77
80
  },
78
81
  "dependencies": {
79
82
  "lorem-ipsum": "^3.0.0"